AssistStructure.ViewNode.Transformation Property

Definition

Returns the transformation that has been applied to this view, such as a translation or scaling.

public virtual Android.Graphics.Matrix Transformation { [Android.Runtime.Register("getTransformation", "()Landroid/graphics/Matrix;", "GetGetTransformationHandler", ApiSince=23)] get; }
[<get: Android.Runtime.Register("getTransformation", "()Landroid/graphics/Matrix;", "GetGetTransformationHandler", ApiSince=23)>]
member this.Transformation : Android.Graphics.Matrix

Property Value

Attributes

Remarks

Returns the transformation that has been applied to this view, such as a translation or scaling. The returned Matrix object is owned by ViewNode; do not modify it. Returns null if there is no transformation applied to the view.

It's only relevant when the AssistStructure is used for assist purposes, not for autofill purposes.

Java documentation for android.app.assist.AssistStructure.ViewNode.getTransformation().

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