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