Javatpoint Logo
Javatpoint Logo

JavaFX Glow Effect

Like Bloom effect, Glow effect is also used to glow the pixels of the image. However, it makes the image much brighter. The class javafx.scene.effect.Glow represents the Glow effect. The class contains various properties which can be set to the certain values in order to apply the appropriate effect.

Properties

The properties of the class along with the setter methods are described in the following table.

Property Description Setter Methods
input This represents the input for the effect. This is a Effect class object type property. setInput(Effect value)
level It represents a value which controls the intensity of the glow effect on the node. setLevel(double value)

Constructors

There are two constructor in the class.

  1. Public Glow(): It is the default constructor. It instantiate the class with the default parameters.
  2. Public Glow(double level): It creates the instance with the specified level value.

Example:


JavaFX Glow Effect



Please Share

facebook twitter google plus pinterest

Learn Latest Tutorials


B.Tech / MCA