次の方法で共有


RenderNode.HasIdentityMatrix Property

Definition

Whether or not the RenderNode has an identity transform.

public bool HasIdentityMatrix { [Android.Runtime.Register("hasIdentityMatrix", "()Z", "", ApiSince=29)] get; }
[<get: Android.Runtime.Register("hasIdentityMatrix", "()Z", "", ApiSince=29)>]
member this.HasIdentityMatrix : bool

Property Value

true if the RenderNode has an identity transform, false otherwise

Attributes

Remarks

Whether or not the RenderNode has an identity transform. This is a faster way to do the otherwise equivalent #getMatrix(Matrix)Matrix#isIdentity() as it doesn't require copying the Matrix first, thus minimizing overhead.

Java documentation for android.graphics.RenderNode.hasIdentityMatrix().

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