@Implements(value=android.graphics.Matrix.class) public class ShadowMatrix extends Object
Matrix.| Modifier and Type | Field and Description |
|---|---|
static String |
MATRIX |
static String |
ROTATE |
static String |
SCALE |
static String |
SINCOS |
static String |
SKEW |
static String |
TRANSLATE |
| Constructor and Description |
|---|
ShadowMatrix() |
| Modifier and Type | Method and Description |
|---|---|
void |
__constructor__(android.graphics.Matrix src) |
List<String> |
getPostOperations()
A list of all 'post' operations performed on this Matrix.
|
List<String> |
getPreOperations()
A list of all 'pre' operations performed on this Matrix.
|
Map<String,String> |
getSetOperations()
A map of all 'set' operations performed on this Matrix.
|
boolean |
isIdentity() |
boolean |
mapRect(android.graphics.RectF destination,
android.graphics.RectF source) |
void |
postConcat(android.graphics.Matrix other) |
void |
postRotate(float degrees) |
void |
postRotate(float degrees,
float px,
float py) |
void |
postScale(float sx,
float sy) |
void |
postScale(float sx,
float sy,
float px,
float py) |
void |
postSkew(float kx,
float ky) |
void |
postSkew(float kx,
float ky,
float px,
float py) |
void |
postTranslate(float dx,
float dy) |
void |
preConcat(android.graphics.Matrix other) |
void |
preRotate(float degrees) |
void |
preRotate(float degrees,
float px,
float py) |
void |
preScale(float sx,
float sy) |
void |
preScale(float sx,
float sy,
float px,
float py) |
void |
preSkew(float kx,
float ky) |
void |
preSkew(float kx,
float ky,
float px,
float py) |
void |
preTranslate(float dx,
float dy) |
void |
reset() |
void |
set(android.graphics.Matrix src) |
void |
setRotate(float degrees) |
void |
setRotate(float degrees,
float px,
float py) |
void |
setScale(float sx,
float sy) |
void |
setScale(float sx,
float sy,
float px,
float py) |
void |
setSinCos(float sinValue,
float cosValue) |
void |
setSinCos(float sinValue,
float cosValue,
float px,
float py) |
void |
setSkew(float kx,
float ky) |
void |
setSkew(float kx,
float ky,
float px,
float py) |
void |
setTranslate(float dx,
float dy) |
String |
toString() |
public static final String TRANSLATE
public static final String SCALE
public static final String ROTATE
public static final String SINCOS
public static final String SKEW
public static final String MATRIX
public void __constructor__(android.graphics.Matrix src)
public List<String> getPreOperations()
public List<String> getPostOperations()
public Map<String,String> getSetOperations()
@Implementation public boolean isIdentity()
@Implementation public void set(android.graphics.Matrix src)
@Implementation public void reset()
@Implementation
public void setTranslate(float dx,
float dy)
@Implementation
public void setScale(float sx,
float sy,
float px,
float py)
@Implementation
public void setScale(float sx,
float sy)
@Implementation
public void setRotate(float degrees,
float px,
float py)
@Implementation public void setRotate(float degrees)
@Implementation
public void setSinCos(float sinValue,
float cosValue,
float px,
float py)
@Implementation
public void setSinCos(float sinValue,
float cosValue)
@Implementation
public void setSkew(float kx,
float ky,
float px,
float py)
@Implementation
public void setSkew(float kx,
float ky)
@Implementation
public void preTranslate(float dx,
float dy)
@Implementation
public void preScale(float sx,
float sy,
float px,
float py)
@Implementation
public void preScale(float sx,
float sy)
@Implementation
public void preRotate(float degrees,
float px,
float py)
@Implementation public void preRotate(float degrees)
@Implementation
public void preSkew(float kx,
float ky,
float px,
float py)
@Implementation
public void preSkew(float kx,
float ky)
@Implementation public void preConcat(android.graphics.Matrix other)
@Implementation
public void postTranslate(float dx,
float dy)
@Implementation
public void postScale(float sx,
float sy,
float px,
float py)
@Implementation
public void postScale(float sx,
float sy)
@Implementation
public void postRotate(float degrees,
float px,
float py)
@Implementation public void postRotate(float degrees)
@Implementation
public void postSkew(float kx,
float ky,
float px,
float py)
@Implementation
public void postSkew(float kx,
float ky)
@Implementation public void postConcat(android.graphics.Matrix other)
@Implementation
public boolean mapRect(android.graphics.RectF destination,
android.graphics.RectF source)
Copyright © 2015. All rights reserved.