Update examples and docs

This commit is contained in:
vcaesar 2017-11-09 22:47:53 +08:00
parent 7dfebac8b9
commit 9956b6be37
5 changed files with 8 additions and 8 deletions

View File

@ -330,7 +330,7 @@ robotgo.ScrollMouse(50, "down")
Gets part or all of the screen.
BCaptureScreen Returns a go struct
GoCaptureScreen Returns a go struct
Capture_Screen (Drop support)
#### Arguments:

View File

@ -344,7 +344,7 @@ robotgo.ScrollMouse(50, "down")
获取部分或者全部屏幕
Gets part or all of the screen.
BCaptureScreen Returns a go struct
GoCaptureScreen Returns a go struct
Capture_Screen (废弃)
#### 参数:

View File

@ -109,8 +109,8 @@ func screen() {
abitMap := robotgo.CaptureScreen()
fmt.Println("abitMap...", abitMap)
gbitMap := robotgo.BCaptureScreen()
fmt.Println("BCaptureScreen...", gbitMap.Width)
gbitMap := robotgo.GoCaptureScreen()
fmt.Println("GoCaptureScreen...", gbitMap.Width)
// fmt.Println("...", gbitmap.Width, gbitmap.BytesPerPixel)
// gets the screen width and height

View File

@ -109,8 +109,8 @@ func screen() {
abitMap := robotgo.CaptureScreen()
fmt.Println("abitMap...", abitMap)
gbitMap := robotgo.BCaptureScreen()
fmt.Println("BCaptureScreen...", gbitMap.Width)
gbitMap := robotgo.GoCaptureScreen()
fmt.Println("GoCaptureScreen...", gbitMap.Width)
// fmt.Println("...", gbitmap.Width, gbitmap.BytesPerPixel)
// gets the screen width and height

View File

@ -25,8 +25,8 @@ func main() {
abitMap := robotgo.CaptureScreen()
fmt.Println("abitMap...", abitMap)
gbitMap := robotgo.BCaptureScreen()
fmt.Println("BCaptureScreen...", gbitMap.Width)
gbitMap := robotgo.GoCaptureScreen()
fmt.Println("GoCaptureScreen...", gbitMap.Width)
// fmt.Println("...", gbitmap.Width, gbitmap.BytesPerPixel)
// gets the screen width and height