Share via


iOSApp.DragCoordinates Method

Definition

Overloads

DragCoordinates(Single, Single, Single, Single)

Performs a continuous drag gesture between 2 points.

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

Performs a continuous drag gesture between 2 points.

DragCoordinates(Single, Single, Single, Single)

Performs a continuous drag gesture between 2 points.

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)

Parameters

fromX
Single

The x coordinate to start from.

fromY
Single

The y coordinate to start from.

toX
Single

The x coordinate to end at.

toY
Single

The y coordinate to end at.

Implements

Applies to

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

Performs a continuous drag gesture between 2 points.

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))

Parameters

fromX
Single

The x coordinate to start from.

fromY
Single

The y coordinate to start from.

toX
Single

The x coordinate to end at.

toY
Single

The y coordinate to end at.

duration
Nullable<TimeSpan>

The TimeSpan duration of the pan gesture not including the hold time.

holdTime
Nullable<TimeSpan>

The TimeSpan duration to hold the initial press before starting the pan gesture.

Applies to