Overview
The RTriangle class defines a right triangle, a triangle with one 90 degree angle
the code:
import org.jfxtras.scene.shape.RTriangle;
import javafx.scene.paint.*;
RTriangle {
angle: 0
x: 10
y: 10
width: 50
height: 50
rotateAtCenter: false
anglePosition: RTriangle.ANGLE_AT_END
fill: Color.BLACK
}produces:

Variable Summary
| access | name | type | Can Read | Can Init | Can Write | Default Value | description |
|---|---|---|---|---|---|---|---|
| public | ANGLE_AT_END | Integer | ![]() | ||||
| public | ANGLE_AT_START | Integer | ![]() | ||||
| public | anglePosition | Number | ![]() | ![]() | ![]() | RTriangle.ANGLE_AT_START |
Defines the position of the 90 degree angle.
Defines the position of the 90 degree angle. Valid values RTriangle.NONE, RTriangle.ANGLE_AT_START, and RTriangle.ANGLE_AT_END. RTriangle.ANGLE_AT_START |
| public | NONE | Integer | ![]() |

