 | AdapterTouchStart Method (Int32, Int32) |
Begins a multi touch operation on the adapter. Multi touch operations can be used to compose more complex touch gestures.
E.g. a swipe from left to right could be composed in the following way:
adapter.TouchStart(Location.Left);
adapter.TouchEnd(Location.Right);
Useful multitouch operations always have the form
- 1 TouchStart
- 0-N TouchMove
- 1 TouchEnd
Namespace:
Ranorex
Assembly:
Ranorex.Core (in Ranorex.Core.dll) Version: 12.7.4-git.38314c06
Syntaxpublic void TouchStart(
int x,
int y
)
Public Sub TouchStart (
x As Integer,
y As Integer
)
Parameters
- 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.
See Also