mirror of
https://github.com/go-vgo/robotgo.git
synced 2025-06-19 14:23:55 +00:00
Update examples and docs
This commit is contained in:
parent
7dfebac8b9
commit
9956b6be37
@ -330,7 +330,7 @@ robotgo.ScrollMouse(50, "down")
|
|||||||
|
|
||||||
Gets part or all of the screen.
|
Gets part or all of the screen.
|
||||||
|
|
||||||
BCaptureScreen Returns a go struct
|
GoCaptureScreen Returns a go struct
|
||||||
Capture_Screen (Drop support)
|
Capture_Screen (Drop support)
|
||||||
|
|
||||||
#### Arguments:
|
#### Arguments:
|
||||||
|
@ -344,7 +344,7 @@ robotgo.ScrollMouse(50, "down")
|
|||||||
获取部分或者全部屏幕
|
获取部分或者全部屏幕
|
||||||
Gets part or all of the screen.
|
Gets part or all of the screen.
|
||||||
|
|
||||||
BCaptureScreen Returns a go struct
|
GoCaptureScreen Returns a go struct
|
||||||
Capture_Screen (废弃)
|
Capture_Screen (废弃)
|
||||||
|
|
||||||
#### 参数:
|
#### 参数:
|
||||||
|
@ -109,8 +109,8 @@ func screen() {
|
|||||||
abitMap := robotgo.CaptureScreen()
|
abitMap := robotgo.CaptureScreen()
|
||||||
fmt.Println("abitMap...", abitMap)
|
fmt.Println("abitMap...", abitMap)
|
||||||
|
|
||||||
gbitMap := robotgo.BCaptureScreen()
|
gbitMap := robotgo.GoCaptureScreen()
|
||||||
fmt.Println("BCaptureScreen...", gbitMap.Width)
|
fmt.Println("GoCaptureScreen...", gbitMap.Width)
|
||||||
// fmt.Println("...", gbitmap.Width, gbitmap.BytesPerPixel)
|
// fmt.Println("...", gbitmap.Width, gbitmap.BytesPerPixel)
|
||||||
|
|
||||||
// gets the screen width and height
|
// gets the screen width and height
|
||||||
|
@ -109,8 +109,8 @@ func screen() {
|
|||||||
abitMap := robotgo.CaptureScreen()
|
abitMap := robotgo.CaptureScreen()
|
||||||
fmt.Println("abitMap...", abitMap)
|
fmt.Println("abitMap...", abitMap)
|
||||||
|
|
||||||
gbitMap := robotgo.BCaptureScreen()
|
gbitMap := robotgo.GoCaptureScreen()
|
||||||
fmt.Println("BCaptureScreen...", gbitMap.Width)
|
fmt.Println("GoCaptureScreen...", gbitMap.Width)
|
||||||
// fmt.Println("...", gbitmap.Width, gbitmap.BytesPerPixel)
|
// fmt.Println("...", gbitmap.Width, gbitmap.BytesPerPixel)
|
||||||
|
|
||||||
// gets the screen width and height
|
// gets the screen width and height
|
||||||
|
@ -25,8 +25,8 @@ func main() {
|
|||||||
abitMap := robotgo.CaptureScreen()
|
abitMap := robotgo.CaptureScreen()
|
||||||
fmt.Println("abitMap...", abitMap)
|
fmt.Println("abitMap...", abitMap)
|
||||||
|
|
||||||
gbitMap := robotgo.BCaptureScreen()
|
gbitMap := robotgo.GoCaptureScreen()
|
||||||
fmt.Println("BCaptureScreen...", gbitMap.Width)
|
fmt.Println("GoCaptureScreen...", gbitMap.Width)
|
||||||
// fmt.Println("...", gbitmap.Width, gbitmap.BytesPerPixel)
|
// fmt.Println("...", gbitmap.Width, gbitmap.BytesPerPixel)
|
||||||
|
|
||||||
// gets the screen width and height
|
// gets the screen width and height
|
||||||
|
Loading…
Reference in New Issue
Block a user