Update examples

This commit is contained in:
vcaesar 2017-08-25 19:30:14 +08:00
parent 7ecdc2b938
commit 8cc86c8d25
2 changed files with 4 additions and 0 deletions

View File

@ -62,4 +62,6 @@ func main() {
// open image bitmap
openbit := robotgo.OpenBitmap("test.tif")
fmt.Println("openBitmap...", openbit)
fx, fy = robotgo.FindBitmap(openbit)
fmt.Println("FindBitmap------", fx, fy)
}

View File

@ -169,6 +169,8 @@ func bitmap() {
// open image bitmap
openbit := robotgo.OpenBitmap("test.tif")
fmt.Println("openBitmap...", openbit)
fx, fy = robotgo.FindBitmap(openbit)
fmt.Println("FindBitmap------", fx, fy)
}
func event() {