JavaFX Bloom effectBloom 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. PropertiesThe 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- public Bloom() : Creates a new instance of the Bloom class with the default parameters.
- public Bloom(Double Threshold_Value) : creates a new instance of the Bloom class with the specified parameters.
Example:
|