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

Profile: desktop, common

Overview

The RoundPin class defines a cone with a rounded top.

the code:

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

    RoundPin {
        centerX: 50
        centerY: 50
        radius: 40
        height: 80
        fill: Color.BLACK
    }

produces:

Profile: desktop

Variable Summary

accessnametypeCan ReadCan InitCan WriteDefault Valuedescription
publiccenterXNumber0.0

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

publiccenterYNumber0.0

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

publicheightNumber40

Defines the height of the pin in pixels.

publicradiusNumber20

Defines the radius of the pin in pixels.

Inherited Variables

Inherited Functions