docs: clipboard.readImage/.writeImage

This commit is contained in:
Cheng Zhao 2015-03-26 12:53:48 +08:00
parent ae5586408f
commit 0bb7abd7a4

View file

@ -30,6 +30,19 @@ Returns the content in clipboard as plain text.
Writes the `text` into clipboard as plain text.
## clipboard.readImage([type])
* `type` String
Returns the content in clipboard as [NativeImage](native-image.md).
## clipboard.writeImage(image[, type])
* `image` [NativeImage](native-image.md)
* `type` String
Writes the `image` into clipboard.
## clipboard.clear([type])
* `type` String