Open Source JavaFX Now!

JFXtras Core Logo

RoundPin

Provides an Round Pin 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


RoundPin { centerX: 50 centerY: 50 radius: 20 height: 40 fill: Color.RED stroke: Color.BLACK }

General Options

(see JavaFXDoc for details)

Parameter   Default   Description
centerX0x coordinate of the triangle center
centerY0y coordinate of the triangle center
radius20Radius of the Pin head
height40Height of the Pin point


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