Update doc

This commit is contained in:
vCaesar 2016-10-30 19:26:56 +08:00
parent f1e8b762f1
commit 92c57da678
2 changed files with 37 additions and 4 deletions

23
doc.md
View File

@ -36,7 +36,7 @@
#####[SaveBitmap](#SaveBitmap)
#####[TostringBitmap](#TostringBitmap)
#####[GetPortion](#GetPortion)
#####[Convert](#Convert)
##<h2 id="Keyboard">Keyboard</h2>
@ -259,7 +259,8 @@ robotgo.ScrollMouse(50, "down")
####Arguments:
bitmap image path
bitmap image path,
MMImageType(optional)
####Return:
@ -303,5 +304,21 @@ robotgo.ScrollMouse(50, "down")
####Return:
Returns new bitmap object created from a portion of another
Returns new bitmap object created from a portion of another
###<h3 id="Convert">.Convert(openpath, savepath,MMImageType)</h3>
Convert the image format
####Arguments:
openpath,
savepath,
MMImageType(optional)
####Examples:
```Go
robotgo.Convert("test.png", "test.tif")
```

View File

@ -36,6 +36,7 @@
#####[SaveBitmap](#SaveBitmap)
#####[TostringBitmap](#TostringBitmap)
#####[GetPortion](#GetPortion)
#####[Convert](#Convert)
##<h2 id="Keyboard">键盘</h2>
@ -274,7 +275,8 @@ robotgo.ScrollMouse(50, "down")
####参数:
bitmap图片路径
bitmap图片路径,
MMImageType(可选)
####返回值:
@ -320,4 +322,18 @@ robotgo.ScrollMouse(50, "down")
Returns new bitmap object created from a portion of another
###<h3 id="Convert">.Convert(openpath, savepath,MMImageType)</h3>
转换bitmap图片格式
####参数:
openpath,
savepath,
MMImageType(可选)
####例子:
```Go
robotgo.Convert("test.png", "test.tif")
```