org.xwt
Class VectorGraphics.Affine
java.lang.Object
org.xwt.VectorGraphics.Affine
- Enclosing class:
- VectorGraphics
- public static final class VectorGraphics.Affine
- extends java.lang.Object
an affine transform; all operations are destructive
Field Summary |
float |
a
|
float |
b
|
float |
c
|
float |
d
|
float |
e
|
float |
f
|
Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
a
public float a
b
public float b
c
public float c
d
public float d
e
public float e
f
public float f
toString
public java.lang.String toString()
copy
public VectorGraphics.Affine copy()
identity
public static VectorGraphics.Affine identity()
scale
public static VectorGraphics.Affine scale(float sx,
float sy)
shear
public static VectorGraphics.Affine shear(float degrees)
translate
public static VectorGraphics.Affine translate(float tx,
float ty)
flip
public static VectorGraphics.Affine flip(boolean horiz,
boolean vert)
multiply_px
public float multiply_px(float x,
float y)
multiply_py
public float multiply_py(float x,
float y)
equalsIgnoringTranslation
public boolean equalsIgnoringTranslation(VectorGraphics.Affine x)
equals
public boolean equals(java.lang.Object o)
rotate
public static VectorGraphics.Affine rotate(float degrees)
multiply
public VectorGraphics.Affine multiply(VectorGraphics.Affine A)
- this = this * a
invert
public void invert()