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
x1int-
The horizontal coordinate of the starting point.
y1int-
The vertical coordinate of the starting point.
x2int-
The horizontal coordinate of the ending point.
y2int-
The vertical coordinate of the ending point.
durationint-
The millisecond of the swipe duration(ms).
Returns
- MaaJob
-
A swipe MaaFramework.Binding.MaaJob.