Add nativeImage.createEmpty()
This commit is contained in:
parent
8093300a43
commit
b9f6d6dffc
3 changed files with 11 additions and 0 deletions
|
@ -80,6 +80,10 @@ To mark an image as template image, its filename should end with the word
|
|||
* `xxxTemplate.png`
|
||||
* `xxxTemplate@2x.png`
|
||||
|
||||
## nativeImage.createEmpty()
|
||||
|
||||
Creates a new `NativeImage` instance that contains empty image.
|
||||
|
||||
## nativeImage.createFromPng(buffer)
|
||||
|
||||
* `buffer` [Buffer][buffer]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue