From d448777bd716540c8af76be8fd4c4271799183a1 Mon Sep 17 00:00:00 2001 From: vCaesar Date: Sat, 29 Apr 2017 22:08:27 +0800 Subject: [PATCH] Update document --- docs/doc.md | 15 ++++++++------- docs/doc_zh.md | 15 ++++++++------- 2 files changed, 16 insertions(+), 14 deletions(-) diff --git a/docs/doc.md b/docs/doc.md index 80de2ff..8bae7c9 100644 --- a/docs/doc.md +++ b/docs/doc.md @@ -272,7 +272,8 @@ robotgo.ScrollMouse(50, "down") ###

.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. ###

.CloseWindow()

@@ -491,7 +492,7 @@ func main() { ###

.GetActive()

- Get the Active Window + Get the Active Window #### Arguments: None @@ -501,7 +502,7 @@ func main() { ###

.SetHandle()

- Set the Window Handle + Set the Window Handle #### Arguments: int @@ -511,7 +512,7 @@ func main() { ###

.GetHandle()

- Get the Window Handle + Get the Window Handle #### Arguments: None @@ -521,7 +522,7 @@ func main() { ###

.GetTitle()

- Get the Window Title + Get the Window Title #### Arguments: None @@ -531,7 +532,7 @@ func main() { ###

.GetPID()

- Get the process id + Get the process id #### Arguments: None diff --git a/docs/doc_zh.md b/docs/doc_zh.md index d7d9023..c7134ef 100644 --- a/docs/doc_zh.md +++ b/docs/doc_zh.md @@ -287,7 +287,8 @@ robotgo.ScrollMouse(50, "down") ###

.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. ###

.CloseWindow()

@@ -507,7 +508,7 @@ func main() { ###

.GetActive()

- 获取当前窗口 + 获取当前窗口 #### 参数: 无 @@ -517,7 +518,7 @@ func main() { ###

.SetHandle()

- Set the Window Handle + Set the Window Handle #### 参数: int @@ -527,7 +528,7 @@ func main() { ###

.GetHandle()

- 获取窗口 Handle + 获取窗口 Handle #### 参数: 无 @@ -537,7 +538,7 @@ func main() { ###

.GetTitle()

- 获取窗口标题 + 获取窗口标题 #### 参数: @@ -547,7 +548,7 @@ func main() { ###

.GetPID()

- 获取进程 id + 获取进程 id #### 参数: 无