PinchGestureUpdatedEventArgs Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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(Microsoft::Maui::GestureStatus status);
public PinchGestureUpdatedEventArgs (Microsoft.Maui.GestureStatus status);
new Microsoft.Maui.Controls.PinchGestureUpdatedEventArgs : Microsoft.Maui.GestureStatus -> Microsoft.Maui.Controls.PinchGestureUpdatedEventArgs
Public Sub New (status As GestureStatus)
Parameters
- status
- GestureStatus
The new gesture status.
Applies to
PinchGestureUpdatedEventArgs(GestureStatus, Double, Point)
Constructs a new PinchGestureUpdatedEventArgs object with the specified values.
public:
PinchGestureUpdatedEventArgs(Microsoft::Maui::GestureStatus status, double scale, Microsoft::Maui::Graphics::Point origin);
public PinchGestureUpdatedEventArgs (Microsoft.Maui.GestureStatus status, double scale, Microsoft.Maui.Graphics.Point origin);
new Microsoft.Maui.Controls.PinchGestureUpdatedEventArgs : Microsoft.Maui.GestureStatus * double * Microsoft.Maui.Graphics.Point -> Microsoft.Maui.Controls.PinchGestureUpdatedEventArgs
Public Sub New (status As GestureStatus, scale As Double, origin As Point)
Parameters
- status
- GestureStatus
Whether the gesture is starting, running, or has ended.
- scale
- 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.