Update bitmap doc

This commit is contained in:
vCaesar 2016-10-23 23:53:20 +08:00
parent be6175cfda
commit e2fa7d6ee0
2 changed files with 33 additions and 3 deletions

19
doc.md
View File

@ -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

View File

@ -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