Overview
The Star2 class defines a star shape (twinkle, twinkle)
the code:
import org.jfxtras.scene.shape.Star2;
import javafx.scene.paint.*;
Star2 {
angle: 0
centerX: 50
centerY: 50
outerRadius: 40
innerRadius: 20
count: 7
fill: Color.BLACK
}produces:

Profile: desktop
Variable Summary
| access | name | type | Can Read | Can Init | Can Write | Default Value | description |
|---|---|---|---|---|---|---|---|
| public | centerX | Number | ![]() | ![]() | ![]() | 0.0 |
Defines the horizontal position of the center of the star in pixels. |
| public | centerY | Number | ![]() | ![]() | ![]() | 0.0 |
Defines the vertical position of the center of the star in pixels. |
| public | count | Number | ![]() | ![]() | ![]() | 5 |
Defines the number of points the star has. |
| public | innerRadius | Number | ![]() | ![]() | ![]() | 10 |
Defines the radius to the start of the star's points. |
| public | outerRadius | Number | ![]() | ![]() | ![]() | 30 |
Defines the radius to the tip of the star's points. |
