Open Source JavaFX Now!

JFXtras Core Logo

Almond

Provides an Almond shape as below:

Try it out

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

Sample Code


Almond { centerX: 180 centerY: 60 width: 20 fill: Color.GREEN stroke: Color.BLACK }

General Options

(see JavaFXDoc for details)

Parameter   Default   Description
width30Width of the Almond
centerX0Almond Center
centerY0Almond center Y coordinate

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
462 Views