RenderNode.HasIdentityMatrix 属性

定义

RenderNode 是否具有标识转换。

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

属性值

如果 RenderNode 具有标识转换,则为 true;否则为 false

属性

注解

RenderNode 是否具有标识转换。 这是执行其他等效操作 #getMatrix(Matrix)Matrix#isIdentity() 的更快方法,因为它不需要先复制矩阵,从而最大程度地减少开销。

Java文档android.graphics.RenderNode.hasIdentityMatrix()

本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。

适用于