Update docs

This commit is contained in:
vCaesar 2017-03-05 00:15:14 +08:00
parent 1fdc6163fd
commit c1a0631973
3 changed files with 6 additions and 6 deletions

View File

@ -228,7 +228,7 @@ robotgo.MouseToggle("down", "right")
####Examples: ####Examples:
```Go ```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.MoveMouse(0, 0)
robotgo.MouseToggle("down") robotgo.MouseToggle("down")
robotgo.DragMouse(100, 100) robotgo.DragMouse(100, 100)
@ -291,7 +291,7 @@ robotgo.ScrollMouse(50, "down")
Returns an object with .width and .height. Returns an object with .width and .height.
###<h3 id="CaptureScreen">.CaptureScreen</h3> ###<h3 id="CaptureScreen">.CaptureScreen</h3>
//ScreenCapture // CaptureScreen
Gets part or all of the screen. Gets part or all of the screen.
@ -330,7 +330,7 @@ robotgo.ScrollMouse(50, "down")
###<h3 id="OpenBitmap">.OpenBitmap</h3> ###<h3 id="OpenBitmap">.OpenBitmap</h3>
open bitmap . open bitmap.
####Arguments: ####Arguments:

View File

@ -239,7 +239,7 @@ robotgo.MouseToggle("down", "right")
####示例: ####示例:
```Go ```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.MoveMouse(0, 0)
robotgo.MouseToggle("down") robotgo.MouseToggle("down")
robotgo.DragMouse(100, 100) robotgo.DragMouse(100, 100)
@ -307,7 +307,7 @@ robotgo.ScrollMouse(50, "down")
Returns an object with .width and .height. Returns an object with .width and .height.
###<h3 id="CaptureScreen">.CaptureScreen</h3> ###<h3 id="CaptureScreen">.CaptureScreen</h3>
//ScreenCapture // CaptureScreen
获取部分或者全部屏幕 获取部分或者全部屏幕
Gets part or all of the screen. Gets part or all of the screen.

View File

@ -52,7 +52,7 @@ import (
) )
const ( const (
version string = "v0.43.0.269,Matterhorn Alps!" version string = "v0.43.0.269, Matterhorn Alps!"
) )
// GetVersion get version // GetVersion get version