mirror of
https://github.com/go-vgo/robotgo.git
synced 2025-06-01 06:33:56 +00:00
Update docs
This commit is contained in:
parent
1fdc6163fd
commit
c1a0631973
@ -228,7 +228,7 @@ robotgo.MouseToggle("down", "right")
|
||||
####Examples:
|
||||
|
||||
```Go
|
||||
//Mouse down at 0, 0 and then drag to 100, 100 and release.
|
||||
// Mouse down at 0, 0 and then drag to 100, 100 and release.
|
||||
robotgo.MoveMouse(0, 0)
|
||||
robotgo.MouseToggle("down")
|
||||
robotgo.DragMouse(100, 100)
|
||||
@ -291,7 +291,7 @@ robotgo.ScrollMouse(50, "down")
|
||||
Returns an object with .width and .height.
|
||||
|
||||
###<h3 id="CaptureScreen">.CaptureScreen</h3>
|
||||
//ScreenCapture
|
||||
// CaptureScreen
|
||||
|
||||
Gets part or all of the screen.
|
||||
|
||||
@ -330,7 +330,7 @@ robotgo.ScrollMouse(50, "down")
|
||||
|
||||
###<h3 id="OpenBitmap">.OpenBitmap</h3>
|
||||
|
||||
open bitmap .
|
||||
open bitmap.
|
||||
|
||||
####Arguments:
|
||||
|
||||
|
@ -239,7 +239,7 @@ robotgo.MouseToggle("down", "right")
|
||||
####示例:
|
||||
|
||||
```Go
|
||||
//Mouse down at 0, 0 and then drag to 100, 100 and release.
|
||||
// Mouse down at 0, 0 and then drag to 100, 100 and release.
|
||||
robotgo.MoveMouse(0, 0)
|
||||
robotgo.MouseToggle("down")
|
||||
robotgo.DragMouse(100, 100)
|
||||
@ -307,7 +307,7 @@ robotgo.ScrollMouse(50, "down")
|
||||
Returns an object with .width and .height.
|
||||
|
||||
###<h3 id="CaptureScreen">.CaptureScreen</h3>
|
||||
//ScreenCapture
|
||||
// CaptureScreen
|
||||
获取部分或者全部屏幕
|
||||
Gets part or all of the screen.
|
||||
|
||||
|
@ -52,7 +52,7 @@ import (
|
||||
)
|
||||
|
||||
const (
|
||||
version string = "v0.43.0.269,Matterhorn Alps!"
|
||||
version string = "v0.43.0.269, Matterhorn Alps!"
|
||||
)
|
||||
|
||||
// GetVersion get version
|
||||
|
Loading…
Reference in New Issue
Block a user