Overview
Defines an almond or Vesica Piscis shape.
the code:
import org.jfxtras.scene.shape.Almond;
import javafx.scene.paint.*;
Almond {
centerX: 40
centerY: 40
width: 20
fill: Color.BLACK
}produces:

Variable Summary
| access | name | type | Can Read | Can Init | Can Write | Default Value | description |
|---|---|---|---|---|---|---|---|
| public | angle | Number | ![]() | ![]() | ![]() | 0 |
Defines the rotation angle of the almond in degrees. |
| public | centerX | Number | ![]() | ![]() | ![]() | 0 |
Defines the horizontal position of the center of the almond in pixels. |
| public | centerY | Number | ![]() | ![]() | ![]() | 0 |
Defines the vertical position of the center of the almond in pixels. |
| public | width | Number | ![]() | ![]() | ![]() | 30 |
Defines the width (thickness) of each arm of the almond. |
