Basics

Guides

API Reference

Menu

Basics

Guides

API Reference

class: Bloom

[12:7] extends: FxObj

Wraps JavaFX Bloom, an effect that makes bright areas of a node glow by adding a soft-light bloom around high-luminance pixels. The threshold property (0.0 to 1.0) controls the minimum brightness level at which pixels begin to bloom; lower values cause more of the image to glow. Apply it to any node via the node's setEffect() method.

Methods

  • Bloom ()

    Creates a new Bloom effect with default settings.

  • setThreshold (double T)

    Sets the luminance threshold above which pixels begin to bloom.

    • @p T is a double in the range 0.0 (all pixels bloom) to 1.0 (only the brightest pixels bloom).
    • @r this object