- java.lang.Object
- 
- javafx.scene.effect.Effect
- 
- javafx.scene.effect.Glow
 
 
- 
 public class Glow extends Effect 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 SummaryProperties Type Property Description ObjectProperty<Effect>inputThe input for thisEffect.DoublePropertylevelThe level value, which controls the intensity of the glow effect.
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description EffectgetInput()Gets the value of the property input.doublegetLevel()Gets the value of the property level.ObjectProperty<Effect>inputProperty()The input for thisEffect.DoublePropertylevelProperty()The level value, which controls the intensity of the glow effect.voidsetInput(Effect value)Sets the value of the property input.voidsetLevel(double value)Sets the value of the property level.
 
- 
- 
- 
Property Detail- 
inputpublic final ObjectProperty<Effect> inputProperty The 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:
- getInput(),- setInput(Effect)
 
 - 
levelpublic final DoubleProperty levelProperty 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
- See Also:
- getLevel(),- setLevel(double)
 
 
- 
 - 
Method Detail- 
setInputpublic final void setInput(Effect value) Sets the value of the property input.- 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
 
 - 
getInputpublic final Effect getInput() Gets the value of the property input.- 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
 
 - 
inputPropertypublic final ObjectProperty<Effect> inputProperty() The 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:
- getInput(),- setInput(Effect)
 
 - 
setLevelpublic final void setLevel(double value) Sets the value of the property level.- 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
 
 - 
getLevelpublic final double getLevel() Gets the value of the property level.- 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
 
 - 
levelPropertypublic final DoubleProperty levelProperty() 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
- See Also:
- getLevel(),- setLevel(double)
 
 
- 
 
-