Share via


MotionEvent.PointerCoords Class

Definition

Transfer object for pointer coordinates.

[Android.Runtime.Register("android/view/MotionEvent$PointerCoords", DoNotGenerateAcw=true)]
public sealed class MotionEvent.PointerCoords : Java.Lang.Object
[<Android.Runtime.Register("android/view/MotionEvent$PointerCoords", DoNotGenerateAcw=true)>]
type MotionEvent.PointerCoords = class
    inherit Object
Inheritance
MotionEvent.PointerCoords
Attributes

Remarks

Transfer object for pointer coordinates.

Objects of this type can be used to specify the pointer coordinates when creating new MotionEvent objects and to query pointer coordinates in bulk.

Refer to InputDevice for information about how different kinds of input devices and sources represent pointer coordinates.

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

Constructors

MotionEvent.PointerCoords()

Creates a pointer coords object with all axes initialized to zero.

MotionEvent.PointerCoords(MotionEvent+PointerCoords)

Creates a pointer coords object as a copy of the contents of another pointer coords object.

Properties

Class

Returns the runtime class of this Object.

(Inherited from Object)
Handle

The handle to the underlying Android instance.

(Inherited from Object)
JniIdentityHashCode (Inherited from Object)
JniPeerMembers
Orientation

The orientation of the touch area and tool area in radians clockwise from vertical.

PeerReference (Inherited from Object)
Pressure

A normalized value that describes the pressure applied to the device by a finger or other tool.

Size

A normalized value that describes the approximate size of the pointer touch area in relation to the maximum detectable size of the device.

ThresholdClass

This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.

(Inherited from Object)
ThresholdType

This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.

(Inherited from Object)
ToolMajor

The length of the major axis of an ellipse that describes the size of the approaching tool.

ToolMinor

The length of the minor axis of an ellipse that describes the size of the approaching tool.

TouchMajor

The length of the major axis of an ellipse that describes the touch area at the point of contact.

TouchMinor

The length of the minor axis of an ellipse that describes the touch area at the point of contact.

X

The X component of the pointer movement.

Y

The Y component of the pointer movement.

Methods

Clear()

Clears the contents of this object.

Clone()

Creates and returns a copy of this object.

(Inherited from Object)
CopyFrom(MotionEvent+PointerCoords)

Copies the contents of another pointer coords object.

Dispose() (Inherited from Object)
Dispose(Boolean) (Inherited from Object)
Equals(Object)

Indicates whether some other object is "equal to" this one.

(Inherited from Object)
GetAxisValue(Axis)

Gets the value associated with the specified axis.

GetHashCode()

Returns a hash code value for the object.

(Inherited from Object)
JavaFinalize()

Called by the garbage collector on an object when garbage collection determines that there are no more references to the object.

(Inherited from Object)
Notify()

Wakes up a single thread that is waiting on this object's monitor.

(Inherited from Object)
NotifyAll()

Wakes up all threads that are waiting on this object's monitor.

(Inherited from Object)
SetAxisValue(Axis, Single)

Sets the value associated with the specified axis.

SetHandle(IntPtr, JniHandleOwnership)

Sets the Handle property.

(Inherited from Object)
ToArray<T>() (Inherited from Object)
ToString()

Returns a string representation of the object.

(Inherited from Object)
UnregisterFromRuntime() (Inherited from Object)
Wait()

Causes the current thread to wait until it is awakened, typically by being <em>notified</em> or <em>interrupted</em>.

(Inherited from Object)
Wait(Int64, Int32)

Causes the current thread to wait until it is awakened, typically by being <em>notified</em> or <em>interrupted</em>, or until a certain amount of real time has elapsed.

(Inherited from Object)
Wait(Int64)

Causes the current thread to wait until it is awakened, typically by being <em>notified</em> or <em>interrupted</em>, or until a certain amount of real time has elapsed.

(Inherited from Object)

Explicit Interface Implementations

IJavaPeerable.Disposed() (Inherited from Object)
IJavaPeerable.DisposeUnlessReferenced() (Inherited from Object)
IJavaPeerable.Finalized() (Inherited from Object)
IJavaPeerable.JniManagedPeerState (Inherited from Object)
IJavaPeerable.SetJniIdentityHashCode(Int32) (Inherited from Object)
IJavaPeerable.SetJniManagedPeerState(JniManagedPeerStates) (Inherited from Object)
IJavaPeerable.SetPeerReference(JniObjectReference) (Inherited from Object)

Extension Methods

JavaCast<TResult>(IJavaObject)

Performs an Android runtime-checked type conversion.

JavaCast<TResult>(IJavaObject)
GetJniTypeName(IJavaPeerable)

Applies to