Open Source JavaFX Now!

JFXtras Core Logo

Arrow

Provides an Arrow 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


Arrow { x: 140 y: 200 width: 100 height: 60 rise: 0.5 depth: 0.5 rotate: 180 fill: Color.CYAN stroke: Color.BLACK }

General Options

(see JavaFXDoc for details)

Parameter   Default   Description
width100Width of the Arrow
height60Height of Arrow
depth0.5How much of shape width is the shaft width
rise0.5How much of the shape height is the shaft height

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