circle

fun circle(x: Double, y: Double, radius: Double)(source)

Draws a circle with the specified parameters.

Parameters

x

The x-coordinate of the center of the circle.

y

The y-coordinate of the center of the circle.

radius

The radius of the circle.


fun circle(position: Vector2, radius: Double)(source)

Draws a circle at the specified position with the given radius.

Parameters

position

The center position of the circle as a Vector2 object.

radius

The radius of the circle as a Double.


fun circle(circle: Circle)(source)

Draws a circle on the given context using the specified draw style and circle properties.

Parameters

circle

The Circle object containing the center coordinates and radius to define the circle to be drawn.