Javatpoint Logo
Javatpoint Logo

JavaFX Bloom effect

Bloom effect is used to glow pixels of some of the portions of the scene. It is represented by the class javafx.scene.effect.Bloom. This class contains various properties which can be set to the certain values in order to apply the appropriate effects.

Properties

The properties of the class along with the setter methods are described below.

Property Description Setter Method
input This property is of type effect. It is used to provide an input to the glow effect. setInput(Effect value)
threshold This property is of the type double. It is a minimum value for the luminosity of the pixels. setThresholf(Double value)

Constructors

  1. public Bloom() : Creates a new instance of the Bloom class with the default parameters.
  2. public Bloom(Double Threshold_Value) : creates a new instance of the Bloom class with the specified parameters.

Example:


JavaFX Bloom Effect
Next TopicJavaFX Glow Effect




Please Share

facebook twitter google plus pinterest

Learn Latest Tutorials


B.Tech / MCA