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) #####[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: ####For everything else:
GCC GCC

View File

@ -35,7 +35,7 @@ RobotGo 支持 Mac, Windows, and Linux(X11).
MinGW or other GCC MinGW or other GCC
#####[zlib&libpng Windows32 GCC教程](https://github.com/go-vgo/Mingw32) #####[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等其他系统): ####For everything else(Linux等其他系统):
GCC GCC

10
doc.md
View File

@ -231,7 +231,6 @@ robotgo.ScrollMouse(50, "down");
###.FindBitmap ###.FindBitmap
find bitmap. find bitmap.
####Arguments: ####Arguments:
@ -245,7 +244,6 @@ robotgo.ScrollMouse(50, "down");
###.OpenBitmap ###.OpenBitmap
open bitmap . open bitmap .
####Arguments: ####Arguments:
@ -258,7 +256,6 @@ robotgo.ScrollMouse(50, "down");
###.SaveBitmap ###.SaveBitmap
save a image with bitmap. save a image with bitmap.
####Arguments: ####Arguments:
@ -269,13 +266,12 @@ robotgo.ScrollMouse(50, "down");
####Return: ####Return:
Returns a imgage Return a imgage
###.TostringBitmap ###.TostringBitmap
bitmap to string
bitmap to string .
####Arguments: ####Arguments:
@ -283,5 +279,5 @@ robotgo.ScrollMouse(50, "down");
####Return: ####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 ###.FindBitmap
查找bitmap.
find bitmap. ####参数:
####Arguments:
bitmap bitmap
####Return: ####Return:
Returns a position x and y 查找到,返回bitmap的x和y坐标;没有返回nil
###.OpenBitmap ###.OpenBitmap
打开bitmap图片.
open bitmap . ####参数:
####Arguments: bitmap图片路径
bitmap image path ####返回值:
####Return: 返回一个bitmap对象
Returns a bitmap
###.SaveBitmap ###.SaveBitmap
保存一个bitmap图片.
save a image with bitmap. ####参数:
####Arguments: bitmap对象,
保存路径,
bitmap,
path,
imagetype(int) imagetype(int)
####Return: ####返回值:
Returns a imgage 保存图片
###.TostringBitmap ###.TostringBitmap
将一个bitmap对象转换为字符串对象.
bitmap to string . ####参数:
####Arguments: bitmap对象
bitmap
####Return: ####Return:
Returns a sting bitmap 返回一个bitmap字符串