java.lang.Object
javafx.scene.effect.Effect
javafx.scene.effect.GaussianBlur
public class GaussianBlur extends Effect
A blur effect using a Gaussian convolution kernel, with a configurable
 radius.
 
Example:
 Text text = new Text();
 text.setText("Blurry Text!");
 text.setFill(Color.web("0x3b596d"));
 text.setFont(Font.font(null, FontWeight.BOLD, 50));
 text.setX(10);
 text.setY(50);
 text.setEffect(new GaussianBlur());
 The code above produces the following:
  
 
- Since:
- JavaFX 2.0
- 
Property SummaryProperties Type Property Description ObjectProperty<Effect>inputThe input for thisEffect.DoublePropertyradiusThe radius of the blur kernel.
- 
Constructor SummaryConstructors Constructor Description GaussianBlur()Creates a new instance of GaussianBlur with default parameters.GaussianBlur(double radius)Creates a new instance of GaussianBlur with the specified radius.
- 
Method SummaryModifier and Type Method Description EffectgetInput()Gets the value of the property input.doublegetRadius()Gets the value of the property radius.ObjectProperty<Effect>inputProperty()The input for thisEffect.DoublePropertyradiusProperty()The radius of the blur kernel.voidsetInput(Effect value)Sets the value of the property input.voidsetRadius(double value)Sets the value of the property radius.
- 
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:
- getInput(),- setInput(Effect)
 
- 
radiusThe radius of the blur kernel.Min: 0.0 Max: 63.0 Default: 10.0 Identity: 0.0- Default value:
- 10.0
- See Also:
- getRadius(),- setRadius(double)
 
 
- 
- 
Constructor Details- 
GaussianBlurpublic GaussianBlur()Creates a new instance of GaussianBlur with default parameters.
- 
GaussianBlurpublic GaussianBlur(double radius)Creates a new instance of GaussianBlur with the specified radius.- Parameters:
- radius- the radius of the blur kernel
- Since:
- JavaFX 2.1
 
 
- 
- 
Method Details- 
setInputSets 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
 
- 
getInputGets 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
 
- 
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
- See Also:
- getInput(),- setInput(Effect)
 
- 
setRadiuspublic final void setRadius(double value)Sets the value of the property radius.- Property description:
- The radius of the blur kernel.
 Min: 0.0 Max: 63.0 Default: 10.0 Identity: 0.0
- Default value:
- 10.0
 
- 
getRadiuspublic final double getRadius()Gets the value of the property radius.- Property description:
- The radius of the blur kernel.
 Min: 0.0 Max: 63.0 Default: 10.0 Identity: 0.0
- Default value:
- 10.0
 
- 
radiusPropertyThe radius of the blur kernel.Min: 0.0 Max: 63.0 Default: 10.0 Identity: 0.0- Default value:
- 10.0
- See Also:
- getRadius(),- setRadius(double)
 
 
-