 | TouchTouchStart Method (Element, Double, Double) |
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 static void TouchStart(
Element element,
double x,
double y
)
Public Shared Sub TouchStart (
element As Element,
x As Double,
y As Double
)
Parameters
- element
- Type: Ranorex.CoreElement
The element to perform the Touch action on. - x
- Type: SystemDouble
X-Coordinate to click within the element rectangle as percentage (1.0 = 100%). If the value is greater than 1.0 the
click will be performed outside the element.
- y
- Type: SystemDouble
Y-Coordinate to click within the element rectangle as percentage (1.0 = 100%). If the value is greater than 1.0 the
click will be performed the element.
See Also