public final class Matrix_Delegate extends Object
DelegateManager
Modifier and Type | Method and Description |
---|---|
java.awt.geom.AffineTransform |
getAffineTransform()
Returns an
AffineTransform matching the matrix. |
static java.awt.geom.AffineTransform |
getAffineTransform(Matrix m)
Returns an
AffineTransform matching the given Matrix. |
static Matrix_Delegate |
getDelegate(int native_instance) |
boolean |
hasPerspective() |
static boolean |
hasPerspective(Matrix m) |
boolean |
isIdentity()
Returns whether or not the matrix is identity.
|
static Matrix_Delegate |
make(java.awt.geom.AffineTransform matrix) |
static float[] |
makeValues(java.awt.geom.AffineTransform matrix) |
boolean |
mapRect(RectF dst,
RectF src) |
void |
reset()
Resets the matrix to be the identity matrix.
|
void |
set(float[] values)
Sets the content of the matrix with the content of another matrix represented as an array
of values.
|
void |
set(Matrix_Delegate matrix)
Sets the content of the matrix with the content of another matrix.
|
public static Matrix_Delegate getDelegate(int native_instance)
public static java.awt.geom.AffineTransform getAffineTransform(Matrix m)
AffineTransform
matching the given Matrix.public static boolean hasPerspective(Matrix m)
public void set(Matrix_Delegate matrix)
public void set(float[] values)
public void reset()
public boolean isIdentity()
public static float[] makeValues(java.awt.geom.AffineTransform matrix)
public static Matrix_Delegate make(java.awt.geom.AffineTransform matrix)
public java.awt.geom.AffineTransform getAffineTransform()
AffineTransform
matching the matrix.public boolean hasPerspective()