Rectangle
Draw a rectangle in the image.
Parameters
Parameter | Type | Description |
---|---|---|
x |
| X-Coordinate of the top-left corner of the rectangle. |
y |
| Y-Coordinate of the top-left corner of the rectangle. |
width |
| Width of the rectangle. |
height |
| Height of the rectangle. |
c |
| Color of the rectangle. |
Return Values
The instance of *imgo.Image
.
Examples
Last updated