JavaFX: Bringing Rich Experiences To All the Screens Of Your Life

Profile: desktop, common

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:

Variable Summary

accessnametypeCan ReadCan InitCan WriteDefault Valuedescription
publicheightNumber40

Defines the height of the triangle in pixels.

Inherited Variables

Inherited Functions