mirror of
https://github.com/go-vgo/robotgo.git
synced 2025-06-01 14:43:55 +00:00
add dragsmooth function examples
This commit is contained in:
parent
cb549ee939
commit
25aa801286
@ -25,6 +25,9 @@ func move() {
|
||||
|
||||
robotgo.Drag(10, 10)
|
||||
robotgo.Drag(20, 20, "right")
|
||||
//
|
||||
robotgo.DragSmooth(10, 10)
|
||||
robotgo.DragSmooth(100, 200, 1.0, 100.0)
|
||||
|
||||
// smooth move the mouse to 100, 200
|
||||
robotgo.MoveSmooth(100, 200)
|
||||
|
Loading…
Reference in New Issue
Block a user