Update doc

This commit is contained in:
vCaesar 2016-10-22 19:29:41 +08:00
parent dc5d7c40ad
commit e52c0fcbd0
4 changed files with 24 additions and 32 deletions

View File

@ -35,7 +35,7 @@ This is a work in progress.
#####[zlib&libpng Windows32 GCC's Course](https://github.com/go-vgo/Mingw32)
#####[Download include zlib&libpng Windows GCC](https://github.com/go-vgo/Mingw)
#####[Download include zlib&libpng Windows64 GCC](https://github.com/go-vgo/Mingw)
####For everything else:
GCC

View File

@ -35,7 +35,7 @@ RobotGo 支持 Mac, Windows, and Linux(X11).
MinGW or other GCC
#####[zlib&libpng Windows32 GCC教程](https://github.com/go-vgo/Mingw32)
#####[下载包含zlib和libpng的MinGW](https://github.com/go-vgo/Mingw)
#####[下载包含zlib和libpng的64位MinGW](https://github.com/go-vgo/Mingw)
####For everything else(Linux等其他系统):
GCC

10
doc.md
View File

@ -231,7 +231,6 @@ robotgo.ScrollMouse(50, "down");
###.FindBitmap
find bitmap.
####Arguments:
@ -245,7 +244,6 @@ robotgo.ScrollMouse(50, "down");
###.OpenBitmap
open bitmap .
####Arguments:
@ -258,7 +256,6 @@ robotgo.ScrollMouse(50, "down");
###.SaveBitmap
save a image with bitmap.
####Arguments:
@ -269,13 +266,12 @@ robotgo.ScrollMouse(50, "down");
####Return:
Returns a imgage
Return a imgage
###.TostringBitmap
bitmap to string .
bitmap to string
####Arguments:
@ -283,5 +279,5 @@ robotgo.ScrollMouse(50, "down");
####Return:
Returns a sting bitmap
Return a sting bitmap

View File

@ -241,7 +241,7 @@ robotgo.ScrollMouse(50, "down");
####返回值:
Returns a bitmap object.
返回一个bitmap object.
##位图
@ -249,58 +249,54 @@ robotgo.ScrollMouse(50, "down");
###.FindBitmap
查找bitmap.
find bitmap.
####Arguments:
####参数:
bitmap
####Return:
Returns a position x and y
查找到,返回bitmap的x和y坐标;没有返回nil
###.OpenBitmap
打开bitmap图片.
open bitmap .
####参数:
####Arguments:
bitmap图片路径
bitmap image path
####返回值:
####Return:
Returns a bitmap
返回一个bitmap对象
###.SaveBitmap
保存一个bitmap图片.
save a image with bitmap.
####参数:
####Arguments:
bitmap,
path,
bitmap对象,
保存路径,
imagetype(int)
####Return:
####返回值:
Returns a imgage
保存图片
###.TostringBitmap
将一个bitmap对象转换为字符串对象.
bitmap to string .
####参数:
####Arguments:
bitmap
bitmap对象
####Return:
Returns a sting bitmap
返回一个bitmap字符串