openrndr / org.openrndr.internal / RectangleDrawer

RectangleDrawer

class RectangleDrawer

Constructors

<init>

RectangleDrawer()

Functions

drawRectangle

fun drawRectangle(drawContext: DrawContext, drawStyle: DrawStyle, x: Double, y: Double, width: Double, height: Double): Unit

drawRectangles

fun drawRectangles(drawContext: DrawContext, drawStyle: DrawStyle, positions: List<Vector2>, dimensions: List<Vector2>): Unit
fun drawRectangles(drawContext: DrawContext, drawStyle: DrawStyle, positions: List<Vector2>, width: Double, height: Double): Unit
fun drawRectangles(drawContext: DrawContext, drawStyle: DrawStyle, rectangles: List<Rectangle>): Unit