drawCircle function
Draw a circle into the image
with a center of x0
,y0
and
the given radius
and color
.
Implementation
Image drawCircle(Image image, int x0, int y0, int radius, int color) {
final points = _calculateCircumference(image, x0, y0, radius);
return _draw(image, points, color);
}