共用方式為


PinchGestureUpdatedEventArgs.ScaleOrigin Property

Definition

The updated origin of the pinch gesture.

public Xamarin.Forms.Point ScaleOrigin { get; }
member this.ScaleOrigin : Xamarin.Forms.Point

Property Value

The midpoint 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