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