 | TouchTouchMove Method (Element, Int32, Int32, Int32, Duration) |
Performs a touch move action on the adapter. This adds a move to the specified location with cursor pressed.
Namespace:
Ranorex
Assembly:
Ranorex.Core (in Ranorex.Core.dll) Version: 12.7.4-git.38314c06
Syntaxpublic static void TouchMove(
Element element,
int pointer,
int x,
int y,
Duration moveTime
)
Public Shared Sub TouchMove (
element As Element,
pointer As Integer,
x As Integer,
y As Integer,
moveTime As Duration
)
Parameters
- element
- Type: Ranorex.CoreElement
The element to perform the Touch action on. - pointer
- Type: SystemInt32
The pointer identifier to use, with zero being the default pointer. - x
- Type: SystemInt32
X-Coordinate to click within the element rectangle in pixels. If the value is greater than the width of the
element the touch will be performed outside the element.
- y
- Type: SystemInt32
Y-Coordinate to click within the element rectangle in pixels. If the value is greater than the height of the
element the touch will be performed outside the element.
- moveTime
- Type: RanorexDuration
The timespan between the first and the second position update of the event.
See Also