Language

GesturePoint Constructors

Definition

Overloads

Name Description
GesturePoint(IntPtr, JniHandleOwnership)

A constructor used when creating managed representations of JNI objects; called by the runtime.

GesturePoint(Single, Single, Int64)

Creates a gesture point with the supplied coordinates and timestamp.

GesturePoint(IntPtr, JniHandleOwnership)

A constructor used when creating managed representations of JNI objects; called by the runtime.

protected GesturePoint(IntPtr javaReference, Android.Runtime.JniHandleOwnership transfer);
new Android.Gestures.GesturePoint : nativeint * Android.Runtime.JniHandleOwnership -> Android.Gestures.GesturePoint

Parameters

javaReference
IntPtr

nativeint

A IntPtrcontaining a Java Native Interface (JNI) object reference.

transfer
JniHandleOwnership

A JniHandleOwnershipindicating how to handle javaReference

Remarks

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

GesturePoint(Single, Single, Int64)

Creates a gesture point with the supplied coordinates and timestamp.

[Android.Runtime.Register(".ctor", "(FFJ)V", "")]
public GesturePoint(float x, float y, long t);
[<Android.Runtime.Register(".ctor", "(FFJ)V", "")>]
new Android.Gestures.GesturePoint : single * single * int64 -> Android.Gestures.GesturePoint

Parameters

x
Single

The point's horizontal coordinate in the stroke's coordinate system.

y
Single

The point's vertical coordinate in the stroke's coordinate system.

t
Int64

The timestamp to store for the point. Gesture overlays use motion-event time in milliseconds since system boot, excluding deep sleep.

Attributes

Remarks

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