add dragsmooth function examples

This commit is contained in:
vcaesar 2019-06-09 14:06:23 -04:00
parent cb549ee939
commit 25aa801286

View File

@ -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)