Overview
The ITriangle class defines isosceles triangle - a triangle with 2 equal
sides and 2 equal angles.
the code:
import org.jfxtras.scene.shape.ITriangle;
import javafx.scene.paint.*;
ITriangle {
angle: 0
x: 10
y: 10
width: 50
height: 20
fill: Color.BLACK
}produces:

Profile: desktop
Variable Summary
| access | name | type | Can Read | Can Init | Can Write | Default Value | description |
|---|---|---|---|---|---|---|---|
| public | height | Number | ![]() | ![]() | ![]() | 40 |
Defines the height of the triangle in pixels. |
| public | width | Number | ![]() | ![]() | ![]() | 80 |
Defines the width of the triangle's sides in pixels. |
| public | x | Number | ![]() | ![]() | ![]() | 0.0 |
Defines the X coordinate of the triangle's lower left point |
| public | y | Number | ![]() | ![]() | ![]() | 0.0 |
Defines the Y coordinate of the triangle's lower left point. |
