共用方式為


PinchGestureUpdatedEventArgs Constructors

Definition

Overloads

PinchGestureUpdatedEventArgs(GestureStatus)

Constructs a new PinchGestureUpdatedEventArgs object with default values.

PinchGestureUpdatedEventArgs(GestureStatus, Double, Point)

Constructs a new PinchGestureUpdatedEventArgs object with the specified values.

PinchGestureUpdatedEventArgs(GestureStatus)

Constructs a new PinchGestureUpdatedEventArgs object with default values.

public PinchGestureUpdatedEventArgs (Xamarin.Forms.GestureStatus status);
new Xamarin.Forms.PinchGestureUpdatedEventArgs : Xamarin.Forms.GestureStatus -> Xamarin.Forms.PinchGestureUpdatedEventArgs

Parameters

status
GestureStatus

The new gesture status.

Applies to

PinchGestureUpdatedEventArgs(GestureStatus, Double, Point)

Constructs a new PinchGestureUpdatedEventArgs object with the specified values.

public PinchGestureUpdatedEventArgs (Xamarin.Forms.GestureStatus status, double scale, Xamarin.Forms.Point origin);
new Xamarin.Forms.PinchGestureUpdatedEventArgs : Xamarin.Forms.GestureStatus * double * Xamarin.Forms.Point -> Xamarin.Forms.PinchGestureUpdatedEventArgs

Parameters

status
GestureStatus

Whether the gesture is starting, running, or has ended.

scale
System.Double

The current scale of the pinch gesture.

origin
Point

The updated origin of the pinch gesture.

Remarks

The origin of the pinch is the center of the pinch gesture, and changes if the user translates their pinch while they scale. Application developers may want to store the pinch origin when the gesture begins and use it for all scaling operations for that gesture.

Applies to