다음을 통해 공유


MotionEvent.AxisGesturePinchScaleFactor Field

Definition

Caution

This constant will be removed in the future version. Use Android.Views.Axis enum directly instead of this field.

Axis constant: pinch scale factor of a motion event.

[Android.Runtime.Register("AXIS_GESTURE_PINCH_SCALE_FACTOR", ApiSince=34)]
[System.Obsolete("This constant will be removed in the future version. Use Android.Views.Axis enum directly instead of this field.", true)]
public const Android.Views.Axis AxisGesturePinchScaleFactor = 52;
[<Android.Runtime.Register("AXIS_GESTURE_PINCH_SCALE_FACTOR", ApiSince=34)>]
[<System.Obsolete("This constant will be removed in the future version. Use Android.Views.Axis enum directly instead of this field.", true)>]
val mutable AxisGesturePinchScaleFactor : Android.Views.Axis

Field Value

Value = 52

Implements

Attributes

Remarks

Axis constant: pinch scale factor of a motion event.

<ul> <li>For a touch pad, reports the change in distance between the fingers when the user is making a pinch gesture, as a proportion of the previous distance. For example, if the fingers were 50 units apart and are now 52 units apart, the scale factor would be 1.04. </ul> These values are relative to the state from the last event, not accumulated, so developers should make sure to process this axis value for all batched historical events.

Java documentation for android.view.MotionEvent.AXIS_GESTURE_PINCH_SCALE_FACTOR.

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