次の方法で共有


MotionEvent.RawX Property

Definition

Equivalent to #getRawX(int) for pointer index 0 (regardless of the pointer identifier).

public float RawX { [Android.Runtime.Register("getRawX", "()F", "")] get; }
[<get: Android.Runtime.Register("getRawX", "()F", "")>]
member this.RawX : single

Property Value

The X coordinate of the first pointer index in the coordinate space of the device display.

Attributes

Remarks

Equivalent to #getRawX(int) for pointer index 0 (regardless of the pointer identifier).

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

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

See also