Sdílet prostřednictvím


MotionEvent.GetTouchMinor(Int32) Method

Definition

Returns the length of the minor axis of an ellipse that describes the touch area at the point of contact for the given pointer <em>index</em> (use #getPointerId(int) to find the pointer identifier for this index).

[Android.Runtime.Register("getTouchMinor", "(I)F", "")]
public float GetTouchMinor (int pointerIndex);
[<Android.Runtime.Register("getTouchMinor", "(I)F", "")>]
member this.GetTouchMinor : 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

Attributes

Remarks

Returns the length of the minor axis of an ellipse that describes the touch area at the point of contact for the given pointer <em>index</em> (use #getPointerId(int) to find the pointer identifier for this index).

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