points property Null safety
final
The number of points in this star, or sides on a polygon.
This is a floating point number: if this is not a whole number, then an additional star point or corner shorter than the others will be added to finish the shape. Only whole-numbered values will yield a symmetric shape.
For stars created with StarBorder, this the number of points on the star. For polygons created with StarBorder.polygon, this is the number of sides on the polygon.
Must be greater than or equal to two.
Implementation
final double points;