copy

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

Returns a copy of this instance with specified properties changed.

Parameters

orientation

the value is expected to be normalized.