Sdílet prostřednictvím


RenderNode.GetInverseMatrix(Matrix) Method

Definition

Gets the current transform inverted.

[Android.Runtime.Register("getInverseMatrix", "(Landroid/graphics/Matrix;)V", "", ApiSince=29)]
public void GetInverseMatrix (Android.Graphics.Matrix outMatrix);
[<Android.Runtime.Register("getInverseMatrix", "(Landroid/graphics/Matrix;)V", "", ApiSince=29)>]
member this.GetInverseMatrix : Android.Graphics.Matrix -> unit

Parameters

outMatrix
Matrix

The matrix to store the inverse transform of the RenderNode

Attributes

Remarks

Gets the current transform inverted. This is a faster way to do the otherwise equivalent #getMatrix(Matrix) followed by Matrix#invert(Matrix)

Java documentation for android.graphics.RenderNode.getInverseMatrix(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