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: common conditional effect
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.010.0 |