Update document

This commit is contained in:
vCaesar 2017-04-29 22:08:27 +08:00
parent 46410b3a2f
commit d448777bd7
2 changed files with 16 additions and 14 deletions

View File

@ -272,7 +272,8 @@ robotgo.ScrollMouse(50, "down")
### <h3 id="GetPixelColor">.GetPixelColor(x, y)
Gets the pixel color at x, y. This function is perfect for getting a pixel or two, but if you'll be reading large portions of the screen use screen.capture.
Gets the pixel color at x, y. This function is perfect for getting a pixel or two,
but if you'll be reading large portions of the screen use screen.capture.
#### Arguments:
@ -455,7 +456,7 @@ func main() {
#### Return:
Returns 0(True) if the default button was pressed, or 1(False) if cancelled.
Returns 0(True) if the default button was pressed, or 1(False) if cancelled.
### <h3 id="CloseWindow">.CloseWindow()</h3>
@ -491,7 +492,7 @@ func main() {
### <h3 id="GetActive">.GetActive()</h3>
Get the Active Window
Get the Active Window
#### Arguments:
None
@ -501,7 +502,7 @@ func main() {
### <h3 id="SetHandle">.SetHandle()</h3>
Set the Window Handle
Set the Window Handle
#### Arguments:
int
@ -511,7 +512,7 @@ func main() {
### <h3 id="GetHandle">.GetHandle()</h3>
Get the Window Handle
Get the Window Handle
#### Arguments:
None
@ -521,7 +522,7 @@ func main() {
### <h3 id="GetTitle">.GetTitle()</h3>
Get the Window Title
Get the Window Title
#### Arguments:
None
@ -531,7 +532,7 @@ func main() {
### <h3 id="GetPID">.GetPID()</h3>
Get the process id
Get the process id
#### Arguments:
None

View File

@ -287,7 +287,8 @@ robotgo.ScrollMouse(50, "down")
### <h3 id="GetPixelColor">.GetPixelColor(x, y)
获取坐标为 x, y 位置处的颜色
Gets the pixel color at x, y. This function is perfect for getting a pixel or two, but if you'll be reading large portions of the screen use screen.capture.
Gets the pixel color at x, y. This function is perfect for getting a pixel or two,
but if you'll be reading large portions of the screen use screen.capture.
#### 参数:
@ -471,7 +472,7 @@ func main() {
#### 返回值:
Returns 0 (True) if the default button was pressed, or 1 (False) if cancelled.
Returns 0 (True) if the default button was pressed, or 1 (False) if cancelled.
### <h3 id="CloseWindow">.CloseWindow()</h3>
@ -507,7 +508,7 @@ func main() {
### <h3 id="GetActive">.GetActive()</h3>
获取当前窗口
获取当前窗口
#### 参数:
@ -517,7 +518,7 @@ func main() {
### <h3 id="SetHandle">.SetHandle()</h3>
Set the Window Handle
Set the Window Handle
#### 参数:
int
@ -527,7 +528,7 @@ func main() {
### <h3 id="GetHandle">.GetHandle()</h3>
获取窗口 Handle
获取窗口 Handle
#### 参数:
@ -537,7 +538,7 @@ func main() {
### <h3 id="GetTitle">.GetTitle()</h3>
获取窗口标题
获取窗口标题
#### 参数:
@ -547,7 +548,7 @@ func main() {
### <h3 id="GetPID">.GetPID()</h3>
获取进程 id
获取进程 id
#### 参数: