copy

open override fun copy(center: Vector2F, orientation: ComplexF, width: Float, height: Float, cornerRadius: Float): MutableRoundedRectangle

Returns a copy of this instance with specified properties changed.

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.