mirror of
https://github.com/go-vgo/robotgo
synced 2026-05-23 17:59:12 +00:00
Update bitmap doc
This commit is contained in:
parent
be6175cfda
commit
e2fa7d6ee0
2 changed files with 33 additions and 3 deletions
19
doc.md
19
doc.md
|
|
@ -29,6 +29,7 @@
|
|||
OpenBitmap
|
||||
SaveBitmap
|
||||
TostringBitmap
|
||||
GetPortion
|
||||
|
||||
|
||||
##Keyboard
|
||||
|
|
@ -235,7 +236,8 @@ robotgo.ScrollMouse(50, "down")
|
|||
|
||||
####Arguments:
|
||||
|
||||
bitmap
|
||||
bitmap;
|
||||
rect(optional): x, y, w, h
|
||||
|
||||
####Return:
|
||||
|
||||
|
|
@ -279,5 +281,18 @@ robotgo.ScrollMouse(50, "down")
|
|||
|
||||
####Return:
|
||||
|
||||
Return a sting bitmap
|
||||
Return a sting bitmap
|
||||
|
||||
###.GetPortion
|
||||
|
||||
bitmap from a portion
|
||||
|
||||
####Arguments:
|
||||
|
||||
bitmap,
|
||||
rect: x, y, w, h
|
||||
|
||||
####Return:
|
||||
|
||||
Returns new bitmap object created from a portion of another
|
||||
|
||||
|
|
|
|||
17
zh_doc.md
17
zh_doc.md
|
|
@ -29,6 +29,7 @@
|
|||
OpenBitmap
|
||||
SaveBitmap
|
||||
TostringBitmap
|
||||
GetPortion
|
||||
|
||||
|
||||
##键盘
|
||||
|
|
@ -253,7 +254,8 @@ robotgo.ScrollMouse(50, "down")
|
|||
|
||||
####参数:
|
||||
|
||||
bitmap
|
||||
bitmap;
|
||||
rect(可选参数): x, y, w, h
|
||||
|
||||
####Return:
|
||||
|
||||
|
|
@ -299,4 +301,17 @@ robotgo.ScrollMouse(50, "down")
|
|||
|
||||
返回一个bitmap字符串
|
||||
|
||||
###.GetPortion
|
||||
|
||||
bitmap from a portion
|
||||
|
||||
####参数:
|
||||
|
||||
bitmap,
|
||||
rect: x, y, w, h
|
||||
|
||||
####返回值:
|
||||
|
||||
Returns new bitmap object created from a portion of another
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue