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

A filter that produces a sepia tone effect, similar to antique photographs.

Example:


 SepiaTone sepiaTone = new SepiaTone();
 sepiaTone.setLevel(0.7);

 Image image = new Image("boat.jpg");
 ImageView imageView = new ImageView(image);
 imageView.setFitWidth(200);
 imageView.setPreserveRatio(true);
 imageView.setEffect(sepiaTone);
 

The code above applied on this image:

A photo

produces the following:

The visual effect of SepiaTone on photo

extends Effect

Since:  JavaFX 2.0