public class Matrix extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
Matrix.ScaleToFit |
| Modifier and Type | Field and Description |
|---|---|
static int |
MPERSP_0 |
static int |
MPERSP_1 |
static int |
MPERSP_2 |
static int |
MSCALE_X |
static int |
MSCALE_Y |
static int |
MSKEW_X |
static int |
MSKEW_Y |
static int |
MTRANS_X |
static int |
MTRANS_Y |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
protected void |
finalize() |
void |
getValues(float[] values) |
boolean |
invert(Matrix inverse) |
boolean |
isIdentity() |
void |
mapPoints(float[] pts) |
void |
mapPoints(float[] dst,
float[] src) |
void |
mapPoints(float[] dst,
int dstIndex,
float[] src,
int srcIndex,
int pointCount) |
float |
mapRadius(float radius) |
boolean |
mapRect(RectF rect) |
boolean |
mapRect(RectF dst,
RectF src) |
void |
mapVectors(float[] vecs) |
void |
mapVectors(float[] dst,
float[] src) |
void |
mapVectors(float[] dst,
int dstIndex,
float[] src,
int srcIndex,
int vectorCount) |
boolean |
postConcat(Matrix other) |
boolean |
postRotate(float degrees) |
boolean |
postRotate(float degrees,
float px,
float py) |
boolean |
postScale(float sx,
float sy) |
boolean |
postScale(float sx,
float sy,
float px,
float py) |
boolean |
postSkew(float kx,
float ky) |
boolean |
postSkew(float kx,
float ky,
float px,
float py) |
boolean |
postTranslate(float dx,
float dy) |
boolean |
preConcat(Matrix other) |
boolean |
preRotate(float degrees) |
boolean |
preRotate(float degrees,
float px,
float py) |
boolean |
preScale(float sx,
float sy) |
boolean |
preScale(float sx,
float sy,
float px,
float py) |
boolean |
preSkew(float kx,
float ky) |
boolean |
preSkew(float kx,
float ky,
float px,
float py) |
boolean |
preTranslate(float dx,
float dy) |
boolean |
rectStaysRect() |
void |
reset() |
void |
set(Matrix src) |
boolean |
setConcat(Matrix a,
Matrix b) |
boolean |
setPolyToPoly(float[] src,
int srcIndex,
float[] dst,
int dstIndex,
int pointCount) |
boolean |
setRectToRect(RectF src,
RectF dst,
Matrix.ScaleToFit stf) |
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) |
void |
setValues(float[] values) |
String |
toShortString() |
String |
toString() |
public static final int MSCALE_X
public static final int MSKEW_X
public static final int MTRANS_X
public static final int MSKEW_Y
public static final int MSCALE_Y
public static final int MTRANS_Y
public static final int MPERSP_0
public static final int MPERSP_1
public static final int MPERSP_2
public Matrix()
public Matrix(Matrix src)
public boolean isIdentity()
public boolean rectStaysRect()
public void set(Matrix src)
public void reset()
public void setTranslate(float dx,
float dy)
public void setScale(float sx,
float sy,
float px,
float py)
public void setScale(float sx,
float sy)
public void setRotate(float degrees,
float px,
float py)
public void setRotate(float degrees)
public void setSinCos(float sinValue,
float cosValue,
float px,
float py)
public void setSinCos(float sinValue,
float cosValue)
public void setSkew(float kx,
float ky,
float px,
float py)
public void setSkew(float kx,
float ky)
public boolean preTranslate(float dx,
float dy)
public boolean preScale(float sx,
float sy,
float px,
float py)
public boolean preScale(float sx,
float sy)
public boolean preRotate(float degrees,
float px,
float py)
public boolean preRotate(float degrees)
public boolean preSkew(float kx,
float ky,
float px,
float py)
public boolean preSkew(float kx,
float ky)
public boolean preConcat(Matrix other)
public boolean postTranslate(float dx,
float dy)
public boolean postScale(float sx,
float sy,
float px,
float py)
public boolean postScale(float sx,
float sy)
public boolean postRotate(float degrees,
float px,
float py)
public boolean postRotate(float degrees)
public boolean postSkew(float kx,
float ky,
float px,
float py)
public boolean postSkew(float kx,
float ky)
public boolean postConcat(Matrix other)
public boolean setRectToRect(RectF src, RectF dst, Matrix.ScaleToFit stf)
public boolean setPolyToPoly(float[] src,
int srcIndex,
float[] dst,
int dstIndex,
int pointCount)
public boolean invert(Matrix inverse)
public void mapPoints(float[] dst,
int dstIndex,
float[] src,
int srcIndex,
int pointCount)
public void mapVectors(float[] dst,
int dstIndex,
float[] src,
int srcIndex,
int vectorCount)
public void mapPoints(float[] dst,
float[] src)
public void mapVectors(float[] dst,
float[] src)
public void mapPoints(float[] pts)
public void mapVectors(float[] vecs)
public boolean mapRect(RectF rect)
public float mapRadius(float radius)
public void getValues(float[] values)
public void setValues(float[] values)
public String toShortString()
Copyright © 2008-2013. All Rights Reserved.