iOSApp.DragCoordinates 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
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 坐标。