MotionEvent.GetRawX(Int32) Method

Definition

Returns the original raw X coordinate of this event.

[Android.Runtime.Register("getRawX", "(I)F", "", ApiSince=29)]
public float GetRawX (int pointerIndex);
[<Android.Runtime.Register("getRawX", "(I)F", "", ApiSince=29)>]
member this.GetRawX : int -> single

Parameters

pointerIndex
Int32

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

Returns

Single
Attributes

Remarks

Java documentation for android.view.MotionEvent.getRawX(int).

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