toRounded

fun Rectangle.toRounded(radii: List<Double>): RoundedRectangle(source)
fun Rectangle.toRounded(radius: Double): RoundedRectangle(source)