mirror of
https://github.com/go-vgo/robotgo
synced 2026-05-24 10:19:01 +00:00
add dragsmooth function examples
This commit is contained in:
parent
cb549ee939
commit
25aa801286
1 changed files with 3 additions and 0 deletions
|
|
@ -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 a new issue