ellipse

fun Canvas.ellipse(cx: Int, cy: Int, hradius: Float, vradius: Float, color: Color = Color.BLACK)

Draws an ellipse outline on the canvas.

Parameters

cx

The X coordinate of the ellipse center

cy

The Y coordinate of the ellipse center

hradius

The horizontal radius of the ellipse

vradius

The vertical radius of the ellipse

color

The color of the ellipse