RectangleBatchBuilder

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 dimensions: Vector2, val rotation: Double)

Functions

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

Generate the stored batch

Link copied to clipboard
fun rectangle(rectangle: Rectangle, rotationInDegrees: Double = 0.0)
fun rectangle(corner: Vector2, width: Double, height: Double, rotationInDegrees: Double = 0.0)
fun rectangle(x: Double, y: Double, width: Double, height: Double, rotationInDegrees: Double = 0.0)
Link copied to clipboard
fun rectangles(rectangles: List<Rectangle>)

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