mirror of
https://github.com/go-vgo/robotgo
synced 2026-05-23 17:59:12 +00:00
add more bitmap examples
This commit is contained in:
parent
2a8a0e9d92
commit
7bbc39e975
1 changed files with 6 additions and 0 deletions
|
|
@ -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 a new issue