Merge pull request #7489 from davej/patch-2

Docs: Correct image.getSize() type signature
This commit is contained in:
Kevin Sawicki 2016-10-04 13:36:48 -07:00 committed by GitHub
commit 43f4eb76c4

View file

@ -201,9 +201,9 @@ Returns `Boolean` - Whether the image is empty.
#### `image.getSize()`
Returns `Integer[]` - The size of the image.
[buffer]: https://nodejs.org/api/buffer.html#buffer_class_buffer
Returns `Object`:
* `width` Integer
* `height` Integer
#### `image.setTemplateImage(option)`
@ -214,3 +214,5 @@ Marks the image as a template image.
#### `image.isTemplateImage()`
Returns `Boolean` - Whether the image is a template image.
[buffer]: https://nodejs.org/api/buffer.html#buffer_class_buffer