JavaFX: Bringing Rich Experiences To All the Screens Of Your Life

expand all

Profile: desktop, common


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);


Profile: common conditional effect

Variable Summary

accessnametypeCan ReadCan InitCan WriteDefault Valuedescription

The input for this Effect.

The input for this Effect. If set to null, or left unspecified, a graphical image of the Node to which the Effect is attached will be used as the input.


The radius of the blur kernel.

The radius of the blur kernel.

       Min:  0.0
       Max: 63.0
   Default: 10.0
  Identity:  0.0


Inherited Variables

Function Summary

Inherited Functions

javafx.scene.effect.Effect - all specs in one place