Compartir a través de


MotionEvent.GetPointerCoords(Int32, MotionEvent+PointerCoords) Method

Definition

Populates a PointerCoords object with pointer coordinate data for the specified pointer index.

[Android.Runtime.Register("getPointerCoords", "(ILandroid/view/MotionEvent$PointerCoords;)V", "")]
public void GetPointerCoords (int pointerIndex, Android.Views.MotionEvent.PointerCoords? outPointerCoords);
[<Android.Runtime.Register("getPointerCoords", "(ILandroid/view/MotionEvent$PointerCoords;)V", "")>]
member this.GetPointerCoords : int * Android.Views.MotionEvent.PointerCoords -> unit

Parameters

pointerIndex
Int32

Raw index of pointer to retrieve. Value may be from 0 (the first pointer that is down) to #getPointerCount()-1.

outPointerCoords
MotionEvent.PointerCoords

The pointer coordinate object to populate.

Attributes

Remarks

Java documentation for android.view.MotionEvent.getPointerCoords(int, android.view.PointerCoords).

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