numberOfSides property
The number of sides for the polygon.
Must be at least 3 to form a valid polygon. Defaults to 5 (pentagon).
Implementation
final int numberOfSides;
The number of sides for the polygon.
Must be at least 3 to form a valid polygon. Defaults to 5 (pentagon).
final int numberOfSides;