iOSApp.DragCoordinates 方法

定义

重载

DragCoordinates(Single, Single, Single, Single)

在 2 磅之间执行连续拖动手势。

DragCoordinates(Single, Single, Single, Single, Nullable<TimeSpan>, Nullable<TimeSpan>)

在 2 磅之间执行连续拖动手势。

DragCoordinates(Single, Single, Single, Single)

在 2 磅之间执行连续拖动手势。

public void DragCoordinates (float fromX, float fromY, float toX, float toY);
abstract member DragCoordinates : single * single * single * single -> unit
override this.DragCoordinates : single * single * single * single -> unit
Public Sub DragCoordinates (fromX As Single, fromY As Single, toX As Single, toY As Single)

参数

fromX
Single

要从其开始的 x 坐标。

fromY
Single

要从其开始的 y 坐标。

toX
Single

以 结尾的 x 坐标。

toY
Single

结束于的 y 坐标。

实现

适用于

DragCoordinates(Single, Single, Single, Single, Nullable<TimeSpan>, Nullable<TimeSpan>)

在 2 磅之间执行连续拖动手势。

public void DragCoordinates (float fromX, float fromY, float toX, float toY, Nullable<TimeSpan> duration, Nullable<TimeSpan> holdTime);
member this.DragCoordinates : single * single * single * single * Nullable<TimeSpan> * Nullable<TimeSpan> -> unit
Public Sub DragCoordinates (fromX As Single, fromY As Single, toX As Single, toY As Single, duration As Nullable(Of TimeSpan), holdTime As Nullable(Of TimeSpan))

参数

fromX
Single

要从其开始的 x 坐标。

fromY
Single

要从其开始的 y 坐标。

toX
Single

以 结尾的 x 坐标。

toY
Single

结束于的 y 坐标。

duration
Nullable<TimeSpan>

TimeSpan平移手势的持续时间,不包括保持时间。

holdTime
Nullable<TimeSpan>

TimeSpan 开始平移手势之前保持初始按下的持续时间。

适用于