PinchGestureUpdatedEventArgs 构造函数

定义

重载

PinchGestureUpdatedEventArgs(GestureStatus)

Source:
PinchGestureUpdatedEventArgs.cs
Source:
PinchGestureUpdatedEventArgs.cs
Source:
PinchGestureUpdatedEventArgs.cs

构造具有默认值的新 PinchGestureUpdatedEventArgs 对象。

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)

参数

status
GestureStatus

新手势状态。

适用于

PinchGestureUpdatedEventArgs(GestureStatus, Double, Point)

Source:
PinchGestureUpdatedEventArgs.cs
Source:
PinchGestureUpdatedEventArgs.cs
Source:
PinchGestureUpdatedEventArgs.cs

构造具有指定值的新 PinchGestureUpdatedEventArgs 对象。

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)

参数

status
GestureStatus

手势的状态为正在开始、正在进行还是已结束。

scale
Double

收缩手势的当前范围。

origin
Point

收缩手势的已更新的原点。

注解

捏合的起源是收缩手势的中心,如果用户在缩放时转换其收缩,则更改。 应用程序开发人员可能需要在手势开始时存储收缩源,并将其用于该手势的所有缩放操作。

适用于