Method Swipe
- Namespace
- MaaFramework.Binding
- Assembly
- MaaFramework.Binding.dll
Swipe(int, int, int, int, int)
Swipes from a starting point to an ending point with duration.
MaaJob Swipe(int x1, int y1, int x2, int y2, int duration)
Parameters
x1
int-
The horizontal coordinate of the starting point.
y1
int-
The vertical coordinate of the starting point.
x2
int-
The horizontal coordinate of the ending point.
y2
int-
The vertical coordinate of the ending point.
duration
int-
The millisecond of the swipe duration(ms).
Returns
- MaaJob
-
A swipe MaaFramework.Binding.MaaJob.