mirror of
https://github.com/go-vgo/robotgo.git
synced 2025-06-01 14:43:55 +00:00
Update doc
This commit is contained in:
parent
f1e8b762f1
commit
92c57da678
23
doc.md
23
doc.md
@ -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")
|
||||
```
|
||||
|
||||
|
18
zh_doc.md
18
zh_doc.md
@ -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")
|
||||
```
|
||||
|
Loading…
Reference in New Issue
Block a user