Use point / size / rectangle structures consistently in API docs

This commit is contained in:
Milan Burda 2017-04-04 00:35:39 +02:00
parent 7265a0c1b4
commit 568454525d
9 changed files with 25 additions and 50 deletions

View file

@ -219,10 +219,7 @@ Returns `Boolean` - Whether the image is empty.
#### `image.getSize()`
Returns `Object`:
* `width` Integer
* `height` Integer
Returns [`Size`](structures/size.md)
#### `image.setTemplateImage(option)`
@ -236,11 +233,7 @@ Returns `Boolean` - Whether the image is a template image.
#### `image.crop(rect)`
* `rect` Object - The area of the image to crop
* `x` Integer
* `y` Integer
* `width` Integer
* `height` Integer
* `rect` [Rectangle](structures/rectangle.md) - The area of the image to crop
Returns `NativeImage` - The cropped image.