MotionEvent.PointerCoords.Orientation 屬性
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
觸角區域與工具面積的方向(弧度)從垂直方向順時針排列。
[Android.Runtime.Register("orientation")]
public float Orientation { get; set; }
[<Android.Runtime.Register("orientation")>]
member this.Orientation : single with get, set
屬性值
觸感或工具的橢圓角度從垂直方向順時針方向,以弧度為單位。
- 屬性
備註
觸角區域與工具面積的方向(弧度)從垂直方向順時針排列。 角度為0弧度表示長軸朝上、是完美圓形或方向不明。 正角度表示接觸軸向右。 負角度表示接觸軸向左。 完整範圍從 -PI/2 弧度(手指完全指向左邊)到 PI/2 弧度(手指完全指向右邊)。
Java 文件 android.view.MotionEvent.PointerCoords.orientation。
本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。