mirror of
https://github.com/go-vgo/robotgo.git
synced 2025-06-03 07:33:55 +00:00
Update README.md
This commit is contained in:
parent
b19aa2cffa
commit
e1cc58e554
@ -191,7 +191,7 @@ func main() {
|
|||||||
bitmap := robotgo.CaptureScreen(10, 20, 30, 40)
|
bitmap := robotgo.CaptureScreen(10, 20, 30, 40)
|
||||||
fmt.Println("...", bitmap)
|
fmt.Println("...", bitmap)
|
||||||
|
|
||||||
fx, fy := robotgo.FindBitmap(bitmap)
|
fx, fy := robotgo.FindBit(bitmap)
|
||||||
fmt.Println("FindBitmap------", fx, fy)
|
fmt.Println("FindBitmap------", fx, fy)
|
||||||
|
|
||||||
robotgo.SaveBitmap(bitmap, "test.png")
|
robotgo.SaveBitmap(bitmap, "test.png")
|
||||||
|
@ -189,7 +189,7 @@ func main() {
|
|||||||
bitmap := robotgo.CaptureScreen(10, 20, 30, 40)
|
bitmap := robotgo.CaptureScreen(10, 20, 30, 40)
|
||||||
fmt.Println("...", bitmap)
|
fmt.Println("...", bitmap)
|
||||||
|
|
||||||
fx, fy := robotgo.FindBitmap(bitmap)
|
fx, fy := robotgo.FindBit(bitmap)
|
||||||
fmt.Println("FindBitmap------", fx, fy)
|
fmt.Println("FindBitmap------", fx, fy)
|
||||||
|
|
||||||
robotgo.SaveBitmap(bitmap, "test.png")
|
robotgo.SaveBitmap(bitmap, "test.png")
|
||||||
|
Loading…
Reference in New Issue
Block a user