Overview
The Asterisk class defines an asterisk shape that may have round corners.
the code:
import org.jfxtras.scene.shape.Asterisk;
import javafx.scene.paint.*;
Asterisk {
centerX: 40
centerY: 40
radius: 30
width: 20
beams: 5
roundness: 0.5
fill: Color.BLACK
}produces:

Variable Summary
| access | name | type | Can Read | Can Init | Can Write | Default Value | description |
|---|---|---|---|---|---|---|---|
| public | beams | Number | ![]() | ![]() | ![]() | 5 |
Defines the number of beams (or arms) that eminate from the center of the shape.
Defines the number of beams (or arms) that eminate from the center of the shape. Minimum value is 2. 5 |
| public | centerX | Number | ![]() | ![]() | ![]() | 0 |
Defines the horizontal position of the center of the asterisk in pixels. |
| public | centerY | Number | ![]() | ![]() | ![]() | 0 |
Defines the vertical position of the center of the asterisk in pixels. |
| public | radius | Number | ![]() | ![]() | ![]() | 40 |
Defines the radius of the asterisk in pixels. |
| public | roundness | Number | ![]() | ![]() | ![]() | 0 |
Defines the roundness of the outside corners of the asterisk.
Defines the roundness of the outside corners of the asterisk. The range is from 0.0 to 1.0. The higher the value the more round the corners will be. 0 |
| public | width | Number | ![]() | ![]() | ![]() | 30 |
Defines the width (thickness) of each arm of the asterisk. |

