mirror of
https://github.com/go-vgo/robotgo.git
synced 2025-06-01 14:43:55 +00:00
Update bitmap doc
This commit is contained in:
parent
be6175cfda
commit
e2fa7d6ee0
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 New Issue
Block a user