Open Source JavaFX Now!

JFXtras Core Logo

Rays

Provides a Ray shape as below:

Try it out

If you would like to try a sample of how this control operates, run the ShapesDemoFX.fx application in org.jfxtras.scene.shape.

Sample Code


Rays { centerX: 280 centerY: 120 radius: 30 rays: 5 extent: 0.25 fill: Color.GREEN stroke: Color.BLACK }

General Options

(see JavaFXDoc for details)

Parameter   Default   Description
centerX0x coordinate of the Rays center
centerY0y coordinate of the Rays center
radius30Radius containing the shapes
extent0.5Width of end of Rays 0.0 to 1.0
rays5Number of rays
roundedfalseIf true will round the ends of the rays


Other options may be available, including public variables and methods and will be detailed in the JavaFXDoc

<< Back to JFXtras FrontPage < Back to Shapes
1 Attachments 1 Attachments
356 Views