MotionEvent.PointerCoords.Orientation Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
The orientation of the touch area and tool area in radians clockwise from vertical.
[Android.Runtime.Register("orientation")]
public float Orientation { get; set; }
[<Android.Runtime.Register("orientation")>]
member this.Orientation : single with get, set
Property Value
- Attributes
Remarks
The orientation of the touch area and tool area in radians clockwise from vertical. An angle of 0 radians indicates that the major axis of contact is oriented upwards, is perfectly circular or is of unknown orientation. A positive angle indicates that the major axis of contact is oriented to the right. A negative angle indicates that the major axis of contact is oriented to the left. The full range is from -PI/2 radians (finger pointing fully left) to PI/2 radians (finger pointing fully right).
Java documentation for android.view.MotionEvent.PointerCoords.orientation
.
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.