Basics

Guides

API Reference

Menu

Basics

Guides

API Reference

class: Glow

[11:7] extends: FxObj

Wraps JavaFX Glow, an effect that makes a node appear to emit light by adding a bright luminance overlay. The level property controls the intensity of the glow; values range from 0.0 (no glow) to 1.0 (maximum glow). Apply it to any node via the node's setEffect() method.

Methods

  • Glow ()

    Creates a new Glow effect with default settings.

  • setLevel (double L)

    Sets the intensity of the glow effect.

    • @p L is a double in the range 0.0 (no glow) to 1.0 (maximum glow).
    • @r this object
  • getLevel ()

    Returns the current glow intensity.

    • @r A double in the range 0.0 to 1.0.
  • levelProperty ()

    Returns the DoubleProperty backing the glow level.

    • @r An AJO wrapping javafx.beans.property.DoubleProperty.
  • setInput (object Input)

    Sets the input effect that this Glow is chained to. When null the effect operates on the node directly.

    • @p Input is an Effect wrapper (e.g. Bloom, BoxBlur, etc.) or null.
    • @r this object
  • getInput ()

    Returns the input effect chained to this Glow.

    • @r An AJO wrapping javafx.scene.effect.Effect, or null if none is set.
  • inputProperty ()

    Returns the ObjectProperty backing the input effect reference.

    • @r An AJO wrapping javafx.beans.property.ObjectProperty.