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

Profile: desktop, common

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:

Profile: desktop

Variable Summary

accessnametypeCan ReadCan InitCan WriteDefault Valuedescription
publiccenterXNumber0

Defines the horizontal position of the center of the almond in pixels.

publiccenterYNumber0

Defines the vertical position of the center of the almond in pixels.

publicwidthNumber30

Defines the width almond at it's widest point.

Inherited Variables

Inherited Functions