rawRectangles

fun rawRectangles(rectangles: List<Rectangle>)(source)

Draws raw rectangles, see rawRectangle

Parameters

rectangles

the rectangles to draw


fun rawRectangles(positions: List<Vector2>, width: Double, height: Double = width)(source)

Draws raw rectangles, see rawRectangle

Parameters

positions

the top-left corners of the rectangles

width

The width of each rectangle.

height

The height of each rectangle. Defaults to the value of the width parameter.


fun rawRectangles(positions: List<Vector2>, dimensions: List<Vector2>)(source)

Draws raw rectangles, see rawRectangle

Parameters

positions

the top-left corners of the rectangles

dimensions

the dimensions of the rectangles