Method Summary |
|
public Object | clone() Clones this object. |
public Matrix | copy() This will copy the text matrix data. |
public AffineTransform | createAffineTransform() Create an affine transform from this matrix's values. |
public Matrix | extractScaling() Create a new matrix with just the scaling operators. |
public Matrix | extractTranslating() Create a new matrix with just the translating operators. |
public static Matrix | getScaleInstance(float x, float y) Convenience method to create a scaled instance. |
public static Matrix | getTranslatingInstance(float x, float y) Convenience method to create a translating instance. |
public float | getValue(int row, int column) This will get a matrix value at some point.
Parameters: row - The row to get the value from. Parameters: column - The column to get the value from. |
public float[][] | getValues() Return a single dimension array of all values in the matrix. |
public double[][] | getValuesAsDouble() Return a single dimension array of all values in the matrix. |
public float | getXPosition() Get the x position in the matrix. |
public float | getXScale() Get the xscaling factor of this matrix. |
public float | getYPosition() Get the y position. |
public float | getYScale() Get the y scaling factor of this matrix. |
public Matrix | multiply(Matrix b) This will take the current matrix and multipy it with a matrix that is passed in.
Parameters: b - The matrix to multiply by. |
public void | setFromAffineTransform(AffineTransform af) Set the values of the matrix from the AffineTransform. |
public void | setValue(int row, int column, float value) This will set a value at a position. |
public String | toString() This will return a string representation of the matrix. |