Android.Graphics.Matrix Members

The members of Android.Graphics.Matrix are listed below.

See Also: Inherited members from Java.Lang.Object

Public Constructors

Create an identity matrix
Create a matrix that is a (deep) copy of src

Protected Constructors

A constructor used when creating managed representations of JNI objects; called by the runtime.

Public Fields

const
Mpersp0int (6).
const
Mpersp1int (7).
const
Mpersp2int (8).
const
MscaleXint (0).
const
MscaleYint (4).
const
MskewXint (1).
const
MskewYint (3).
const
MtransXint (2).
const
MtransYint (5).

Public Properties

[read-only]
IsAffinebool. Gets whether this matrix is affine.
[read-only]
IsIdentitybool. Returns true if the matrix is identity.

Protected Properties

[read-only]
override
ThresholdClassIntPtr. This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.
[read-only]
override
ThresholdTypeType. This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.

Public Methods

GetValues(float[])
Copy 9 values from the matrix into the array.
Invert(Matrix) : bool
If this matrix can be inverted, return true and if inverse is not null, set inverse to be the inverse of this matrix.
MapPoints(float[])
Apply this matrix to the array of 2D points, and write the transformed points back into the array
MapPoints(float[], float[])
Apply this matrix to the array of 2D points specified by src, and write the transformed points into the array of points specified by dst.
MapPoints(float[], int, float[], int, int)
Apply this matrix to the array of 2D points specified by src, and write the transformed points into the array of points specified by dst.
MapRadius(float) : float
Return the mean radius of a circle after it has been mapped by this matrix.
MapRect(RectF) : bool
Apply this matrix to the rectangle, and write the transformed rectangle back into it.
MapRect(RectF, RectF) : bool
Apply this matrix to the src rectangle, and write the transformed rectangle into dst.
MapVectors(float[])
Apply this matrix to the array of 2D vectors, and write the transformed vectors back into the array.
MapVectors(float[], float[])
Apply this matrix to the array of 2D vectors specified by src, and write the transformed vectors into the array of vectors specified by dst.
MapVectors(float[], int, float[], int, int)
Apply this matrix to the array of 2D vectors specified by src, and write the transformed vectors into the array of vectors specified by dst.
PostConcat(Matrix) : bool
Postconcats the matrix with the specified matrix.
PostRotate(float) : bool
Postconcats the matrix with the specified rotation.
PostRotate(float, float, float) : bool
Postconcats the matrix with the specified rotation.
PostScale(float, float) : bool
Postconcats the matrix with the specified scale.
PostScale(float, float, float, float) : bool
Postconcats the matrix with the specified scale.
PostSkew(float, float) : bool
Postconcats the matrix with the specified skew.
PostSkew(float, float, float, float) : bool
Postconcats the matrix with the specified skew.
PostTranslate(float, float) : bool
Postconcats the matrix with the specified translation.
PreConcat(Matrix) : bool
Preconcats the matrix with the specified matrix.
PreRotate(float) : bool
Preconcats the matrix with the specified rotation.
PreRotate(float, float, float) : bool
Preconcats the matrix with the specified rotation.
PreScale(float, float) : bool
Preconcats the matrix with the specified scale.
PreScale(float, float, float, float) : bool
Preconcats the matrix with the specified scale.
PreSkew(float, float) : bool
Preconcats the matrix with the specified skew.
PreSkew(float, float, float, float) : bool
Preconcats the matrix with the specified skew.
PreTranslate(float, float) : bool
Preconcats the matrix with the specified translation.
RectStaysRect() : bool
Returns true if will map a rectangle to another rectangle.
Reset()
Set the matrix to identity
Set(Matrix)
(deep) copy the src matrix into this matrix.
SetConcat(Matrix, Matrix) : bool
Set the matrix to the concatenation of the two specified matrices and return true.
SetPolyToPoly(float[], int, float[], int, int) : bool
Set the matrix such that the specified src points would map to the specified dst points.
SetRectToRect(RectF, RectF, Matrix.ScaleToFit) : bool
Set the matrix to the scale and translate values that map the source rectangle to the destination rectangle, returning true if the the result can be represented.
SetRotate(float)
Set the matrix to rotate about (0,0) by the specified number of degrees.
SetRotate(float, float, float)
Set the matrix to rotate by the specified number of degrees, with a pivot point at (px, py).
SetScale(float, float)
Set the matrix to scale by sx and sy.
SetScale(float, float, float, float)
Set the matrix to scale by sx and sy, with a pivot point at (px, py).
SetSinCos(float, float)
Set the matrix to rotate by the specified sine and cosine values.
SetSinCos(float, float, float, float)
Set the matrix to rotate by the specified sine and cosine values, with a pivot point at (px, py).
SetSkew(float, float)
Set the matrix to skew by sx and sy.
SetSkew(float, float, float, float)
Set the matrix to skew by sx and sy, with a pivot point at (px, py).
SetTranslate(float, float)
Set the matrix to translate by (dx, dy).
SetValues(float[])
Copy 9 values from the array into the matrix.
ToShortString() : string