rectangle

fun rectangle(    x: Double,     y: Double,     width: Double,     height: Double,     rotationInDegrees: Double = 0.0)
fun rectangle(    corner: Vector2,     width: Double,     height: Double,     rotationInDegrees: Double = 0.0)
fun rectangle(rectangle: Rectangle, rotationInDegrees: Double = 0.0)

Sources

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