@Implements(value=android.graphics.Matrix.class) public class ShadowMatrix extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
MATRIX |
static java.lang.String |
ROTATE |
static java.lang.String |
SCALE |
static java.lang.String |
SINCOS |
static java.lang.String |
SKEW |
static java.lang.String |
TRANSLATE |
Constructor and Description |
---|
ShadowMatrix() |
Modifier and Type | Method and Description |
---|---|
protected void |
__constructor__(android.graphics.Matrix src) |
boolean |
equals(java.lang.Object obj) |
protected java.awt.geom.AffineTransform |
getAffineTransform() |
java.lang.String |
getDescription() |
java.util.List<java.lang.String> |
getPostOperations()
A list of all ‘post’ operations performed on this Matrix.
|
java.util.List<java.lang.String> |
getPreOperations()
A list of all ‘pre’ operations performed on this Matrix.
|
java.util.Map<java.lang.String,java.lang.String> |
getSetOperations()
A map of all ‘set’ operations performed on this Matrix.
|
protected void |
getValues(float[] values) |
int |
hashCode() |
protected boolean |
invert(android.graphics.Matrix inverse) |
protected boolean |
isAffine() |
protected boolean |
isIdentity() |
android.graphics.PointF |
mapPoint(float x,
float y) |
android.graphics.PointF |
mapPoint(android.graphics.PointF point) |
protected void |
mapPoints(float[] dst,
int dstIndex,
float[] src,
int srcIndex,
int pointCount) |
protected boolean |
mapRect(android.graphics.RectF destination,
android.graphics.RectF source) |
protected void |
mapVectors(float[] dst,
int dstIndex,
float[] src,
int srcIndex,
int vectorCount) |
protected boolean |
postConcat(android.graphics.Matrix other) |
protected boolean |
postRotate(float degrees) |
protected boolean |
postRotate(float degrees,
float px,
float py) |
protected boolean |
postScale(float sx,
float sy) |
protected boolean |
postScale(float sx,
float sy,
float px,
float py) |
protected boolean |
postSkew(float kx,
float ky) |
protected boolean |
postSkew(float kx,
float ky,
float px,
float py) |
protected boolean |
postTranslate(float dx,
float dy) |
protected boolean |
preConcat(android.graphics.Matrix other) |
protected boolean |
preRotate(float degrees) |
protected boolean |
preRotate(float degrees,
float px,
float py) |
protected boolean |
preScale(float sx,
float sy) |
protected boolean |
preScale(float sx,
float sy,
float px,
float py) |
protected boolean |
preSkew(float kx,
float ky) |
protected boolean |
preSkew(float kx,
float ky,
float px,
float py) |
protected boolean |
preTranslate(float dx,
float dy) |
protected boolean |
rectStaysRect() |
protected void |
reset() |
protected void |
set(android.graphics.Matrix src) |
protected boolean |
setConcat(android.graphics.Matrix a,
android.graphics.Matrix b) |
protected void |
setRotate(float degrees) |
protected void |
setRotate(float degrees,
float px,
float py) |
protected void |
setScale(float sx,
float sy) |
protected void |
setScale(float sx,
float sy,
float px,
float py) |
protected void |
setSinCos(float sinValue,
float cosValue) |
protected void |
setSinCos(float sinValue,
float cosValue,
float px,
float py) |
protected void |
setSkew(float kx,
float ky) |
protected void |
setSkew(float kx,
float ky,
float px,
float py) |
protected void |
setTranslate(float dx,
float dy) |
protected void |
setValues(float[] values) |
public static final java.lang.String TRANSLATE
public static final java.lang.String SCALE
public static final java.lang.String ROTATE
public static final java.lang.String SINCOS
public static final java.lang.String SKEW
public static final java.lang.String MATRIX
@Implementation protected void __constructor__(android.graphics.Matrix src)
public java.util.List<java.lang.String> getPreOperations()
A list of all ‘pre’ operations performed on this Matrix. The last operation performed will be first in the list.
public java.util.List<java.lang.String> getPostOperations()
A list of all ‘post’ operations performed on this Matrix. The last operation performed will be last in the list.
public java.util.Map<java.lang.String,java.lang.String> getSetOperations()
A map of all ‘set’ operations performed on this Matrix.
@Implementation protected boolean isIdentity()
@Implementation(minSdk=21) protected boolean isAffine()
@Implementation protected boolean rectStaysRect()
@Implementation protected void getValues(float[] values)
@Implementation protected void setValues(float[] values)
@Implementation protected void set(android.graphics.Matrix src)
@Implementation protected void reset()
@Implementation protected void setTranslate(float dx, float dy)
@Implementation protected void setScale(float sx, float sy, float px, float py)
@Implementation protected void setScale(float sx, float sy)
@Implementation protected void setRotate(float degrees, float px, float py)
@Implementation protected void setRotate(float degrees)
@Implementation protected void setSinCos(float sinValue, float cosValue, float px, float py)
@Implementation protected void setSinCos(float sinValue, float cosValue)
@Implementation protected void setSkew(float kx, float ky, float px, float py)
@Implementation protected void setSkew(float kx, float ky)
@Implementation protected boolean setConcat(android.graphics.Matrix a, android.graphics.Matrix b)
@Implementation protected boolean preTranslate(float dx, float dy)
@Implementation protected boolean preScale(float sx, float sy, float px, float py)
@Implementation protected boolean preScale(float sx, float sy)
@Implementation protected boolean preRotate(float degrees, float px, float py)
@Implementation protected boolean preRotate(float degrees)
@Implementation protected boolean preSkew(float kx, float ky, float px, float py)
@Implementation protected boolean preSkew(float kx, float ky)
@Implementation protected boolean preConcat(android.graphics.Matrix other)
@Implementation protected boolean postTranslate(float dx, float dy)
@Implementation protected boolean postScale(float sx, float sy, float px, float py)
@Implementation protected boolean postScale(float sx, float sy)
@Implementation protected boolean postRotate(float degrees, float px, float py)
@Implementation protected boolean postRotate(float degrees)
@Implementation protected boolean postSkew(float kx, float ky, float px, float py)
@Implementation protected boolean postSkew(float kx, float ky)
@Implementation protected boolean postConcat(android.graphics.Matrix other)
@Implementation protected boolean invert(android.graphics.Matrix inverse)
protected java.awt.geom.AffineTransform getAffineTransform()
public android.graphics.PointF mapPoint(float x, float y)
public android.graphics.PointF mapPoint(android.graphics.PointF point)
@Implementation protected boolean mapRect(android.graphics.RectF destination, android.graphics.RectF source)
@Implementation protected void mapPoints(float[] dst, int dstIndex, float[] src, int srcIndex, int pointCount)
@Implementation protected void mapVectors(float[] dst, int dstIndex, float[] src, int srcIndex, int vectorCount)
@Implementation public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
@Implementation(minSdk=19) public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String getDescription()