java.lang.Object
com.anotherbigidea.flash.structs.Matrix
- public class Matrix
- extends java.lang.Object
scaleX
protected double scaleX
scaleY
protected double scaleY
skew0
protected double skew0
skew1
protected double skew1
translateX
protected double translateX
translateY
protected double translateY
Matrix
public Matrix()
- An identity matrix
Matrix
public Matrix(double translateX,
double translateY)
Matrix
public Matrix(Matrix copy)
- Copy another matrix
Matrix
public Matrix(double scaleX,
double scaleY,
double skew0,
double skew1,
double translateX,
double translateY)
Matrix
public Matrix(com.anotherbigidea.io.InStream in)
throws java.io.IOException
getScaleX
public double getScaleX()
getScaleY
public double getScaleY()
getSkew0
public double getSkew0()
getSkew1
public double getSkew1()
getTranslateX
public double getTranslateX()
getTranslateY
public double getTranslateY()
setScaleX
public void setScaleX(double scaleX)
setScaleY
public void setScaleY(double scaleY)
setSkew0
public void setSkew0(double skew0)
setSkew1
public void setSkew1(double skew1)
setTranslateX
public void setTranslateX(double translateX)
setTranslateY
public void setTranslateY(double translateY)
write
public void write(com.anotherbigidea.io.OutStream out)
throws java.io.IOException
toString
public java.lang.String toString()
- Description copied from class:
java.lang.Object
- Convert this Object to a human-readable String.
There are no limits placed on how long this String
should be or what it should contain. We suggest you
make it as intuitive as possible to be able to place
it into System.out.println() 55
and such.
It is typical, but not required, to ensure that this method
never completes abruptly with a java.lang.RuntimeException.
This method will be called when performing string
concatenation with this object. If the result is
null, string concatenation will instead
use "null".
The default implementation returns
getClass().getName() + "@" +
Integer.toHexString(hashCode()).