set

fun set(center: Vector2F = this.center, orientation: ComplexF = this.orientation, width: Float = this.width, height: Float = this.height, cornerRadius: Float = this.cornerRadius)

Sets the specified properties of this instance.

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.