PinchGestureUpdatedEventArgs Konstruktory
Definicja
Ważne
Niektóre informacje odnoszą się do produktu w wersji wstępnej, który może zostać znacząco zmodyfikowany przed wydaniem. Firma Microsoft nie udziela żadnych gwarancji, jawnych lub domniemanych, w odniesieniu do informacji podanych w tym miejscu.
Przeciążenia
PinchGestureUpdatedEventArgs(GestureStatus) |
Tworzy nowy PinchGestureUpdatedEventArgs obiekt z wartościami domyślnymi. |
PinchGestureUpdatedEventArgs(GestureStatus, Double, Point) |
Tworzy nowy PinchGestureUpdatedEventArgs obiekt z określonymi wartościami. |
PinchGestureUpdatedEventArgs(GestureStatus)
Tworzy nowy PinchGestureUpdatedEventArgs obiekt z wartościami domyślnymi.
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)
Parametry
- status
- GestureStatus
Nowy stan gestu.
Dotyczy
PinchGestureUpdatedEventArgs(GestureStatus, Double, Point)
Tworzy nowy PinchGestureUpdatedEventArgs obiekt z określonymi wartościami.
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)
Parametry
- status
- GestureStatus
Niezależnie od tego, czy gest jest uruchamiany, czy zakończony.
- scale
- Double
Bieżąca skala gestu szczypta.
- origin
- Point
Zaktualizowane źródło gestu szczypta.
Uwagi
Źródłem szczypta jest środek gestu szczypta i zmienia się, jeśli użytkownik tłumaczy szczypta podczas skalowania. Deweloperzy aplikacji mogą chcieć przechowywać źródło szczypta po rozpoczęciu gestu i używać go do wszystkich operacji skalowania dla tego gestu.