box

fun box(width: Float, height: Float, x: Float = 0.0f, y: Float = 0.0f, angle: Float = 0.0f): Shape(source)

Returns a box width by height centred on (x, y), turned by angle radians.

Throws

if a side is not finite and more than 0.