A point in a swipe path
SwipePoint(point: Point = Point(0, 0), hold: number = 0, speed: number = 20)
Construct a SwipePoint
Parameters | |
point | Coordinate of the point |
hold | How long to hold at this point in miliseconds |
speed | The speed when moving from this point to the next, calculate as the number of pixels (relative to 1280x720 dimensions) to move in 12 miliseconds |
number getX()
Get the x coordinate
Return | |
number | The x coordinate |
number getY()
Get the y coordinate
Return | |
number | The y coordinate |
number getHold()
Get the hold value
Return | |
number | The hold value |
number getSpeed()
Get the speed value
Return | |
number | The speed value |
© 2024 - Macrorify by KoK-CODE