Language

Matrix.Invert(Matrix) Method

Definition

If this matrix can be inverted, return true and if inverse is not null, set inverse to be the inverse of this matrix.

[Android.Runtime.Register("invert", "(Landroid/graphics/Matrix;)Z", "GetInvert_Landroid_graphics_Matrix_Handler")]
public virtual bool Invert(Android.Graphics.Matrix? inverse);
[<Android.Runtime.Register("invert", "(Landroid/graphics/Matrix;)Z", "GetInvert_Landroid_graphics_Matrix_Handler")>]
abstract member Invert : Android.Graphics.Matrix -> bool
override this.Invert : Android.Graphics.Matrix -> bool

Parameters

inverse
Matrix

An existing matrix that receives the inverse when inversion succeeds.

Returns

true if an inverse is computed into inverse; otherwise, false.

Attributes

Remarks

If this matrix can be inverted, return true and if inverse is not null, set inverse to be the inverse of this matrix. If this matrix cannot be inverted, ignore inverse and return false.

Java documentation for android.graphics.Matrix.invert(android.graphics.Matrix).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to