RoundedRectangle

fun RoundedRectangle(center: Vector2F, orientation: ComplexF, width: Float, height: Float, cornerRadius: Float): RoundedRectangle

Creates a new instance of RoundedRectangle.

Parameters

orientation

the value is expected to be normalized.

Throws

when cornerRadius is greater than the half the length of the shorter side of this rounded rectangle.