java.lang.Object
javafx.scene.effect.Effect
javafx.scene.effect.Glow
A high-level effect that makes the input image appear to glow,
 based on a configurable threshold.
 
Example:
 Image image = new Image("boat.jpg");
 ImageView imageView = new ImageView(image);
 imageView.setFitWidth(200);
 imageView.setPreserveRatio(true);
 imageView.setEffect(new Glow(0.8));
 The code above applied on this image:
  
 
produces the following:
  
 
- Since:
- JavaFX 2.0
- 
Property SummaryPropertiesTypePropertyDescriptionfinal ObjectProperty<Effect> The input for thisEffect.final DoublePropertyThe level value, which controls the intensity of the glow effect.
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionfinal EffectgetInput()Gets the value of theinputproperty.final doublegetLevel()Gets the value of thelevelproperty.final ObjectProperty<Effect> The input for thisEffect.final DoublePropertyThe level value, which controls the intensity of the glow effect.final voidSets the value of theinputproperty.final voidsetLevel(double value) Sets the value of thelevelproperty.
- 
Property Details- 
inputThe input for thisEffect. If set tonull, or left unspecified, a graphical image of theNodeto which theEffectis attached will be used as the input.- Default value:
- null
- See Also:
 
- 
levelThe level value, which controls the intensity of the glow effect.Min: 0.0 Max: 1.0 Default: 0.3 Identity: 0.0- Default value:
- 0.3
- See Also:
 
 
- 
- 
Constructor Details- 
Glowpublic Glow()Creates a new instance of Glow with default parameters.
- 
Glowpublic Glow(double level) Creates a new instance of Glow with specified level.- Parameters:
- level- the level value, which controls the intensity of the glow effect
 
 
- 
- 
Method Details- 
setInputSets the value of theinputproperty.- Property description:
- The input for this Effect. If set tonull, or left unspecified, a graphical image of theNodeto which theEffectis attached will be used as the input.
- Default value:
- null
- Parameters:
- value- the value for the- inputproperty
- See Also:
 
- 
getInputGets the value of theinputproperty.- Property description:
- The input for this Effect. If set tonull, or left unspecified, a graphical image of theNodeto which theEffectis attached will be used as the input.
- Default value:
- null
- Returns:
- the value of the inputproperty
- See Also:
 
- 
inputPropertyThe input for thisEffect. If set tonull, or left unspecified, a graphical image of theNodeto which theEffectis attached will be used as the input.- Default value:
- null
- Returns:
- the inputproperty
- See Also:
 
- 
setLevelpublic final void setLevel(double value) Sets the value of thelevelproperty.- Property description:
- The level value, which controls the intensity of the glow effect.
 Min: 0.0 Max: 1.0 Default: 0.3 Identity: 0.0
- Default value:
- 0.3
- Parameters:
- value- the value for the- levelproperty
- See Also:
 
- 
getLevelpublic final double getLevel()Gets the value of thelevelproperty.- Property description:
- The level value, which controls the intensity of the glow effect.
 Min: 0.0 Max: 1.0 Default: 0.3 Identity: 0.0
- Default value:
- 0.3
- Returns:
- the value of the levelproperty
- See Also:
 
- 
levelPropertyThe level value, which controls the intensity of the glow effect.Min: 0.0 Max: 1.0 Default: 0.3 Identity: 0.0- Default value:
- 0.3
- Returns:
- the levelproperty
- See Also:
 
 
-