noOfPoints property
The number of points (outer vertices) for the star.
Must be greater than 3 to form a valid star shape. Each point creates both an outer vertex and an inner vertex, so the total number of vertices will be noOfPoints * 2.
Implementation
final int noOfPoints;