|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectpt.tumba.parser.swf.Matrix
public class Matrix
Description of the Class
| Field Summary | |
|---|---|
protected double |
scaleX
Description of the Field |
protected double |
scaleY
Description of the Field |
protected double |
skew0
Description of the Field |
protected double |
skew1
Description of the Field |
protected double |
translateX
Description of the Field |
protected double |
translateY
Description of the Field |
| Constructor Summary | |
|---|---|
Matrix()
An identity matrix |
|
Matrix(double translateX,
double translateY)
Constructor for the Matrix object |
|
Matrix(double scaleX,
double scaleY,
double skew0,
double skew1,
double translateX,
double translateY)
Constructor for the Matrix object |
|
Matrix(InStream in)
Constructor for the Matrix object |
|
Matrix(Matrix copy)
Copy another matrix |
|
| Method Summary | |
|---|---|
double |
getScaleX()
Gets the scaleX attribute of the Matrix object |
double |
getScaleY()
Gets the scaleY attribute of the Matrix object |
double |
getSkew0()
Gets the skew0 attribute of the Matrix object |
double |
getSkew1()
Gets the skew1 attribute of the Matrix object |
double |
getTranslateX()
Gets the translateX attribute of the Matrix object |
double |
getTranslateY()
Gets the translateY attribute of the Matrix object |
void |
setScaleX(double scaleX)
Sets the scaleX attribute of the Matrix object |
void |
setScaleY(double scaleY)
Sets the scaleY attribute of the Matrix object |
void |
setSkew0(double skew0)
Sets the skew0 attribute of the Matrix object |
void |
setSkew1(double skew1)
Sets the skew1 attribute of the Matrix object |
void |
setTranslateX(double translateX)
Sets the translateX attribute of the Matrix object |
void |
setTranslateY(double translateY)
Sets the translateY attribute of the Matrix object |
java.lang.String |
toString()
Description of the Method |
void |
write(OutStream out)
Description of the Method |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected double scaleX
protected double scaleY
protected double skew0
protected double skew1
protected double translateX
protected double translateY
| Constructor Detail |
|---|
public Matrix()
public Matrix(double translateX,
double translateY)
translateX - Description of the ParametertranslateY - Description of the Parameterpublic Matrix(Matrix copy)
copy - Description of the Parameter
public Matrix(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 Parameter
public Matrix(InStream in)
throws java.io.IOException
in - Description of the Parameter
java.io.IOException - Description of the Exception| Method Detail |
|---|
public double getScaleX()
public double getScaleY()
public double getSkew0()
public double getSkew1()
public double getTranslateX()
public double getTranslateY()
public void setScaleX(double scaleX)
scaleX - The new scaleX valuepublic void setScaleY(double scaleY)
scaleY - The new scaleY valuepublic void setSkew0(double skew0)
skew0 - The new skew0 valuepublic void setSkew1(double skew1)
skew1 - The new skew1 valuepublic void setTranslateX(double translateX)
translateX - The new translateX valuepublic void setTranslateY(double translateY)
translateY - The new translateY value
public void write(OutStream out)
throws java.io.IOException
out - Description of the Parameter
java.io.IOException - Description of the Exceptionpublic java.lang.String toString()
toString in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||