Android.Graphics.Matrix: Method Members

The methods of Android.Graphics.Matrix are listed below. For a list of all members, see the Matrix Members list.

See Also: Inherited members from Java.Lang.Object

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