StarShape¶
Overview¶
Star shape (full, 5-pointed)
@author Sam Reid (PhET Interactive Simulations)
Class StarShape¶
Constructor¶
new StarShape( providedOptions? : StarShapeOptions )¶
Instance Methods¶
Type StarShapeOptions¶
- outerRadius?: number
Distance from the center to the tip of a star limb - innerRadius?: number
Distance from the center to the closest point on the exterior of the star. Sets the "thickness" of the star limbs - numberStarPoints?: number
Number of star points, must be an integer
Source Code¶
See the source for StarShape.ts in the scenery-phet repository.