Condividi tramite


MotionEvent.Transform(Matrix) Method

Definition

Applies a transformation matrix to all of the points in the event.

[Android.Runtime.Register("transform", "(Landroid/graphics/Matrix;)V", "")]
public void Transform (Android.Graphics.Matrix? matrix);
[<Android.Runtime.Register("transform", "(Landroid/graphics/Matrix;)V", "")>]
member this.Transform : Android.Graphics.Matrix -> unit

Parameters

matrix
Matrix

The transformation matrix to apply.

Attributes

Remarks

Applies a transformation matrix to all of the points in the event.

Java documentation for android.view.MotionEvent.transform(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