fillCircle

fun fillCircle(cx: Int, cy: Int, radius: Int, color: Color): Image

Draws a filled circle on the image.

Return

A new Image object with the circle drawn on the image.

Parameters

cx

The X coordinate of the center.

cy

The Y coordinate of the center.

radius

The radius of the circle

color

The color of the circle.