Compartir a través de


MotionEvent.PointerCoords.SetAxisValue(Axis, Single) Method

Definition

Sets the value associated with the specified axis.

[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

Parameters

axis
Axis

The axis identifier for the axis value to assign.

value
Single

The value to set.

Attributes

Remarks

Sets the value associated with the specified axis.

Java documentation for android.view.MotionEvent.PointerCoords.setAxisValue(int, float).

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

See also