mirror of
https://github.com/go-vgo/robotgo.git
synced 2025-06-02 15:13:55 +00:00
Update: update examples
This commit is contained in:
parent
dd149367b3
commit
f47571eaae
@ -20,7 +20,9 @@ import (
|
|||||||
|
|
||||||
func bitmap() {
|
func bitmap() {
|
||||||
bit := robotgo.CaptureScreen()
|
bit := robotgo.CaptureScreen()
|
||||||
|
defer robotgo.FreeBitmap(bit)
|
||||||
fmt.Println("abitMap...", bit)
|
fmt.Println("abitMap...", bit)
|
||||||
|
|
||||||
gbit := robotgo.ToBitmap(bit)
|
gbit := robotgo.ToBitmap(bit)
|
||||||
fmt.Println("bitmap...", gbit.Width)
|
fmt.Println("bitmap...", gbit.Width)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user