Contents

init(sides:)

Create a new regular polygon with equal sides and angles.

Declaration

init(sides: Int)

Parameters

  • sides:

    The number of sides.