CircleBatchBuilder

Builder for stored circle batches

Constructors

Link copied to clipboard
constructor(drawer: Drawer)

Types

Link copied to clipboard
class Entry(val fill: ColorRGBa?, val stroke: ColorRGBa?, val strokeWeight: Double, val offset: Vector3, val radius: Vector2)

Functions

Link copied to clipboard
fun batch(existingBatch: CircleBatch? = null): CircleBatch

Generate the stored batch

Link copied to clipboard
fun circle(circle: Circle)
fun circle(position: Vector2, radius: Double)
fun circle(x: Double, y: Double, radius: Double)

Add a circle to the batch

Link copied to clipboard
fun circles(circles: List<Circle>)

Add a circle to the batch

fun circles(centers: List<Vector2>, radius: Double)
fun circles(centers: List<Vector2>, radii: List<Double>)

Add circles to the batch

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Active fill color

Link copied to clipboard

Active stroke color

Link copied to clipboard

Active stroke weight