Overview
A blur effect using a Gaussian convolution kernel, with a configurable radius.
the code:
import javafx.scene.*;
import javafx.scene.text.*;
import javafx.scene.paint.*;
import javafx.scene.effect.*;
Text {
effect: GaussianBlur {}
cache: true
x: 10 y: 40
content: "Blurry Text"
fill: Color.RED
font: Font.font(null, FontWeight.BOLD, 36);
}produces:

Profile: desktop
Variable Summary
| access | name | type | Can Read | Can Init | Can Write | Default Value | description |
|---|---|---|---|---|---|---|---|
| public | input | Effect | ![]() | ![]() | ![]() | null |
The input for this
The input for this |
| public | radius | Number | ![]() | ![]() | ![]() | 10.0 |
The radius of the blur kernel.
The radius of the blur kernel.
Min: 0.0
Max: 63.0
Default: 10.0
Identity: 0.0
10.0
|
Inherited Variables
Function Summary
- public impl_getImpl() : com.sun.scenario.effect.Effect
Inherited Functions
javafx.scene.effect.Effect
- public getAccelType(config: java.awt.GraphicsConfiguration) : java.lang.String
-
Returns a
Stringrepresenting the type of hardware acceleration, if any, that is used when applying thisEffecton the givenGraphicsConfiguration.
Returns a
Stringrepresenting the type of hardware acceleration, if any, that is used when applying thisEffecton the givenGraphicsConfiguration. This method is intended for informational or debugging purposes only.-
Parameters
- config
-
Returns
- String
- public abstract impl_getImpl() : com.sun.scenario.effect.Effect
