Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

This node creates a color based on rgb values. see javafx.scene.paint.Color#rgbColor#hsb

Examples

Code Block
GroovyFX.start({
def sg = new SceneGraphBuilder(it);

sg.stage(
    title: "HSB Example",
    x: 100, y: 100, width: 400, height:400,
    visible: true,
    style: "decorated",
    primary: true
) {

    scene(fill: hsb(128, 0.5, 0.5, 0.5) ) {

    }
}
});