語言

MotionEvent.PointerCoords.SetAxisValue(Axis, Single) 方法

定義

設定與指定軸相關的值。

[Android.Runtime.Register("setAxisValue", "(IF)V", "")]
public void SetAxisValue(Android.Views.Axis axis, float value);
[<Android.Runtime.Register("setAxisValue", "(IF)V", "")>]
member this.SetAxisValue : Android.Views.Axis * single -> unit

參數

axis
Axis

要指派軸的座標識別碼。

value
Single

要設定的值。

屬性

備註

設定與指定軸相關的值。

的 android.view.MotionEvent.PointerCoords.setAxisValue(int, float)Java 檔。

此頁面的部分是根據 Android 開放原始碼專案所建立和共用的工作進行修改,並根據 Creative Commons 2.5 屬性授權中所述的詞彙使用。

適用於

另請參閱