docs: clipboard.readImage/.writeImage
authorCheng Zhao <zcbenz@gmail.com>
Thu, 26 Mar 2015 04:53:48 +0000 (12:53 +0800)
committerCheng Zhao <zcbenz@gmail.com>
Thu, 26 Mar 2015 04:53:48 +0000 (12:53 +0800)
docs/api/clipboard.md

index 33fb120..c0f8304 100644 (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