mirror of
https://github.com/go-vgo/robotgo.git
synced 2025-05-30 22:13:54 +00:00
add more bitmap examples
This commit is contained in:
parent
2a8a0e9d92
commit
7bbc39e975
@ -132,6 +132,12 @@ func bitmapTest(bmp robotgo.CBitmap) {
|
||||
|
||||
fx, fy = robotgo.FindBitmap(bit)
|
||||
fmt.Println("FindBitmap------", fx, fy)
|
||||
|
||||
fx, fy = robotgo.FindBitmap(bit, nil, 0.2)
|
||||
fmt.Println("find bitmap: ", fx, fy)
|
||||
|
||||
fx, fy = robotgo.FindBitmap(bit, bitmap, 0.3)
|
||||
fmt.Println("find bitmap: ", fx, fy)
|
||||
}
|
||||
|
||||
func findBitmap(bmp robotgo.CBitmap) {
|
||||
|
Loading…
Reference in New Issue
Block a user