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

Profile: desktop, common

Overview

The MultiRoundRectangle class defines a rectangular shape with different rounding valus for each corder (width and height).

the code:

import org.jfxtras.scene.shape.MultiRoundRectangle;
     import javafx.scene.paint.*;

     MultiRoundRectangle {
         x: 10
         y: 10
         width: 130
         height: 70
         topLeftWidth: 10
         topLeftHeight: 10
         bottomLeftWidth: 5
         bottomLeftHeight: 5
         topRightWidth: 20
         topRightHeight: 20
         bottomRightWidth: 5
         bottomRightHeight: 5
         fill: Color.BLACK
     }

produces:

Profile: desktop

Variable Summary

accessnametypeCan ReadCan InitCan WriteDefault Valuedescription
publicbottomLeftHeightNumber0

Defines the vertical radius of the arc at the bottom left corner of the rectangle.

publicbottomLeftWidthNumber0

Defines the horizontal radius of the arc at the bottom left corner of the rectangle.

publicbottomRightHeightNumber0

Defines the vertical radius of the arc at the bottom right corner of the rectangle.

publicbottomRightWidthNumber0

Defines the horizontal radius of the arc at the bottom right corner of the rectangle.

publicheightNumber50

Defines the height of the rectangle.

publictopLeftHeightNumber0

Defines the vertical radius of the arc at the top left corner of the rectangle.

publictopLeftWidthNumber0

Defines the horizontal radius of the arc at the top left corner of the rectangle.

publictopRightHeightNumber0

Defines the vertical radius of the arc at the top right corner of the rectangle.

publictopRightWidthNumber0

Defines the horizontal radius of the arc at the top right corner of the rectangle.

publicwidthNumber50

Defines the width of the rectangle.

publicxNumber0

Defines the X coordinate of the upper-left corner of the rectangle.

publicyNumber0

Defines the Y coordinate of the upper-left corner of the rectangle.

Inherited Variables

Inherited Functions