|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object pt.tumba.parser.swf.Matrix pt.tumba.parser.swf.Transform
public class Transform
A Transformation matrix that has translation coordinates in pixels
Field Summary |
---|
Fields inherited from class pt.tumba.parser.swf.Matrix |
---|
scaleX, scaleY, skew0, skew1, translateX, translateY |
Constructor Summary | |
---|---|
Transform()
An identity transform |
|
Transform(double translateX,
double translateY)
A transform that only translates |
|
Transform(double radians,
double translateX,
double translateY)
A transform that rotates and translates |
|
Transform(double scaleX,
double scaleY,
double translateX,
double translateY)
A transform that scales and translates |
|
Transform(double radians,
double scaleX,
double scaleY,
double translateX,
double translateY)
A transform that rotates, scales and translates |
|
Transform(double scaleX,
double scaleY,
double skew0,
double skew1,
double translateX,
double translateY)
Specify all the matrix components |
|
Transform(Matrix matrix)
Copy an existing matrix |
Method Summary | |
---|---|
double |
getTranslateX()
Gets the translateX attribute of the Transform object |
double |
getTranslateY()
Gets the translateY attribute of the Transform object |
void |
setTranslateX(double translateX)
Sets the translateX attribute of the Transform object |
void |
setTranslateY(double translateY)
Sets the translateY attribute of the Transform object |
Methods inherited from class pt.tumba.parser.swf.Matrix |
---|
getScaleX, getScaleY, getSkew0, getSkew1, setScaleX, setScaleY, setSkew0, setSkew1, toString, write |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public Transform(Matrix matrix)
matrix
- Description of the Parameterpublic Transform()
public Transform(double translateX, double translateY)
translateX
- Description of the ParametertranslateY
- Description of the Parameterpublic Transform(double radians, double translateX, double translateY)
radians
- Description of the ParametertranslateX
- Description of the ParametertranslateY
- Description of the Parameterpublic Transform(double scaleX, double scaleY, double translateX, double translateY)
scaleX
- Description of the ParameterscaleY
- Description of the ParametertranslateX
- Description of the ParametertranslateY
- Description of the Parameterpublic Transform(double radians, double scaleX, double scaleY, double translateX, double translateY)
radians
- Description of the ParameterscaleX
- Description of the ParameterscaleY
- Description of the ParametertranslateX
- Description of the ParametertranslateY
- Description of the Parameterpublic Transform(double scaleX, double scaleY, double skew0, double skew1, double translateX, double translateY)
scaleX
- Description of the ParameterscaleY
- Description of the Parameterskew0
- Description of the Parameterskew1
- Description of the ParametertranslateX
- Description of the ParametertranslateY
- Description of the ParameterMethod Detail |
---|
public double getTranslateX()
getTranslateX
in class Matrix
public double getTranslateY()
getTranslateY
in class Matrix
public void setTranslateX(double translateX)
setTranslateX
in class Matrix
translateX
- The new translateX valuepublic void setTranslateY(double translateY)
setTranslateY
in class Matrix
translateY
- The new translateY value
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |