Merge pull request #7489 from davej/patch-2
Docs: Correct image.getSize() type signature
This commit is contained in:
commit
43f4eb76c4
1 changed files with 5 additions and 3 deletions
|
@ -201,9 +201,9 @@ Returns `Boolean` - Whether the image is empty.
|
||||||
|
|
||||||
#### `image.getSize()`
|
#### `image.getSize()`
|
||||||
|
|
||||||
Returns `Integer[]` - The size of the image.
|
Returns `Object`:
|
||||||
|
* `width` Integer
|
||||||
[buffer]: https://nodejs.org/api/buffer.html#buffer_class_buffer
|
* `height` Integer
|
||||||
|
|
||||||
#### `image.setTemplateImage(option)`
|
#### `image.setTemplateImage(option)`
|
||||||
|
|
||||||
|
@ -214,3 +214,5 @@ Marks the image as a template image.
|
||||||
#### `image.isTemplateImage()`
|
#### `image.isTemplateImage()`
|
||||||
|
|
||||||
Returns `Boolean` - Whether the image is a template image.
|
Returns `Boolean` - Whether the image is a template image.
|
||||||
|
|
||||||
|
[buffer]: https://nodejs.org/api/buffer.html#buffer_class_buffer
|
||||||
|
|
Loading…
Reference in a new issue