Method Summary |
|
public CDSMatrix | copy() |
public static CDSMatrix | createFromCOS(COSArray array) Create a
CDSMatrix from an array holding the
transformation parameters. |
public float | getA() Return the matrix element "a". |
public float | getB() Return the matrix element "b". |
public float | getC() Return the matrix element "c". |
public float | getD() Return the matrix element "d". |
public float | getE() Return the matrix element "e". |
public float | getF() Return the matrix element "f". |
public void | invalidateCaches() |
public void | rotate(float angle) Concatenate this transformation with a rotation transformation. |
public void | scale(float[] v) Concatenate this transformation with a scaling transformation. |
public void | setA(float num) Set the matrix element "a". |
public void | setB(float num) Set the matrix element "b". |
public void | setC(float num) Set the matrix element "c". |
public void | setD(float num) Set the matrix element "d". |
public void | setE(float num) Set the matrix element "e". |
public void | setF(float num) Set the matrix element "f". |
public void | setTransformation(float a, float b, float c, float d, float e, float f) |
public void | setTransformation(float[] data) |
public void | setTransformation(AffineTransform transform) |
public AffineTransform | toTransform() Create an
AffineTransform that corresponds to this. |
public float[] | transform(float[] v) Transform a vector v using this.
Parameters: v - The vector that will be transformed. |
public void | translate(float[] v) Concatenate this transformation with a translation transformation. |
public void | translate(float x, float y) Concatenate this transformation with a translation transformation. |