sides

fun sides(sides: Int): Circle

Returns a new Circle with the same radius, but with a different number of side. Note, you can specify the number of sides in the constructor, so this method isn't strictly needed, but is included to be consistent with Cylinder.


val sides: Int