Canvas
Create a new empty canvas.
Parameters
Parameter
Type
Description
width
int
Width of the canvas.
height
int
Height of the canvas.
fillColor
color.Color
Color of the canvas. Optional parameter, default is transparent.
Return Values
The instance of *imgo.Image
.
Examples
Last updated