public class MotionBlur
  Comment     Returned-by     Constructor-argument     Method-argument     Field-type     Type-bound     Links  

A motion blur effect using a Gaussian convolution kernel, with a configurable radius and angle.

Example:


 MotionBlur motionBlur = new MotionBlur();
 motionBlur.setRadius(30);
 motionBlur.setAngle(-15.0);

 Text text = new Text();
 text.setX(20.0);
 text.setY(100.0);
 text.setText("Motion!");
 text.setFill(Color.web("0x3b596d"));
 text.setFont(Font.font(null, FontWeight.BOLD, 60));
 text.setEffect(motionBlur);
 

The code above produces the following:

The visual effect of MotionBlur on text

extends Effect

Since:  JavaFX 2.0