mirror of
https://github.com/go-vgo/robotgo.git
synced 2025-06-03 07:33:55 +00:00
Update examples
This commit is contained in:
parent
7ecdc2b938
commit
8cc86c8d25
@ -62,4 +62,6 @@ func main() {
|
|||||||
// open image bitmap
|
// open image bitmap
|
||||||
openbit := robotgo.OpenBitmap("test.tif")
|
openbit := robotgo.OpenBitmap("test.tif")
|
||||||
fmt.Println("openBitmap...", openbit)
|
fmt.Println("openBitmap...", openbit)
|
||||||
|
fx, fy = robotgo.FindBitmap(openbit)
|
||||||
|
fmt.Println("FindBitmap------", fx, fy)
|
||||||
}
|
}
|
||||||
|
@ -169,6 +169,8 @@ func bitmap() {
|
|||||||
// open image bitmap
|
// open image bitmap
|
||||||
openbit := robotgo.OpenBitmap("test.tif")
|
openbit := robotgo.OpenBitmap("test.tif")
|
||||||
fmt.Println("openBitmap...", openbit)
|
fmt.Println("openBitmap...", openbit)
|
||||||
|
fx, fy = robotgo.FindBitmap(openbit)
|
||||||
|
fmt.Println("FindBitmap------", fx, fy)
|
||||||
}
|
}
|
||||||
|
|
||||||
func event() {
|
func event() {
|
||||||
|
Loading…
Reference in New Issue
Block a user