This commit is contained in:
Rahil Wazir 2017-06-03 13:34:11 +00:00 committed by GitHub
commit 6becc7510c

View File

@ -156,7 +156,7 @@ import (
func main() { func main() {
x, y := robotgo.GetMousePos() x, y := robotgo.GetMousePos()
fmt.Println("pos:", x, y) fmt.Println("pos:", x, y)
color := robotgo.GetPixelColor(100, 200) color := robotgo.GetPixelColor(x, y)
fmt.Println("color----", color) fmt.Println("color----", color)
} }
``` ```