circles

fun circles(positions: List<Vector2>, radius: Double)(source)

Draws multiple circles at specified positions with a given radius.

Parameters

positions

A list of positions where each circle will be drawn. Each position is represented as a Vector2 object.

radius

The radius of the circles to be drawn.


fun circles(positions: List<Vector2>, radii: List<Double>)(source)

Draws multiple circles on a given context using specified positions and radii.

Parameters

positions

A list of Vector2 objects representing the positions of the circle centers.

radii

A list of Double values representing the radii of the circles, corresponding to each position.


fun circles(circles: List<Circle>)(source)

Draws the given list of circles using the specified drawing context and style.

Parameters

circles

A list of Circle objects to be drawn.


fun circles(batch: CircleBatch, count: Int = batch.size)(source)

Draws multiple circles in a batch using the specified drawing context and style.

Parameters

batch

The batch of circles to be drawn.

count

The number of circles to draw from the batch. Defaults to the size of the batch.


Draws a batch of circles on a canvas using the provided building instructions.

Parameters

build

A lambda with receiver that defines the properties and parameters for creating a batch of circles using the CircleBatchBuilder.