PinchGestureUpdatedEventArgs.ScaleOrigin Property
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.
The updated origin of the pinch gesture.
public:
property Microsoft::Maui::Graphics::Point ScaleOrigin { Microsoft::Maui::Graphics::Point get(); };
public Microsoft.Maui.Graphics.Point ScaleOrigin { get; }
member this.ScaleOrigin : Microsoft.Maui.Graphics.Point
Public ReadOnly Property ScaleOrigin As 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
Collabora con noi su GitHub
L'origine di questo contenuto è disponibile in GitHub, in cui è anche possibile creare ed esaminare i problemi e le richieste pull. Per ulteriori informazioni, vedere la guida per i collaboratori.