Overview
The Rays class defines a shape having a number of rays extending from its center point.
the code:
import org.jfxtras.scene.shape.Rays;
import javafx.scene.paint.*;
Rays {
angle: 0
extent: 0.5
centerX: 50
centerY: 50
radius: 40
rays: 5
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 shape in pixels. |
| public | centerY | Number | ![]() | ![]() | ![]() | 0.0 |
Defines the vertical position of the center of the shape in pixels. |
| public | extent | Number | ![]() | ![]() | ![]() | 0.5 |
Defines the width of the rays.
Defines the width of the rays. The range is from 0.0 to 1.0. A value of 1.0 will make each ray take up the maximum amount of space on that side of the shape. 0.5 |
| public | radius | Number | ![]() | ![]() | ![]() | 30 |
Defines the radius of the shape in pixels. |
| public | rays | Number | ![]() | ![]() | ![]() | 5 |
Defines the number of rays eminating from the center. |
| public | rounded | Boolean | ![]() | ![]() | ![]() | false |
Defines whether the outside edge of the rays should be rounded. |

