Crop
Cut out a rectangular part of the current image.
Parameters
Parameter | Type | Description |
---|---|---|
x |
| X-Coordinate of the top-left corner of the rectangular cutout. |
y |
| Y-Coordinate of the top-left corner of the rectangular cutout. |
width |
| Width of the rectangular cutout. |
height |
| Height of the rectangular cutout. |
Return Values
The instance of *imgo.Image
.
Examples
Last updated