Last updated 2 years ago
Draw a ellipse in the image.
The instance of *imgo.Image .
*imgo.Image
package main import ( "github.com/fishtailstudio/imgo" "image/color" ) func main() { imgo.Canvas(300, 300, color.White). Ellipse(150, 150, 150, 100, color.Black). Save("out.png") }
x
int
X-Coordinate of center of the ellipse.
y
Y-Coordinate of center of the ellipse.
width
Width of the ellipse.
height
Height of the ellipse.
c
color.Color
Color of the ellipse.