All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class gjt.image.BleachImageFilter

java.lang.Object
   |
   +----java.awt.image.ImageFilter
           |
           +----java.awt.image.RGBImageFilter
                   |
                   +----gjt.image.BleachImageFilter

public class BleachImageFilter
extends RGBImageFilter
A derivation of RGBImageFilter that bleaches an image.

Extent of the bleaching effect is controlled by the only constructor argument: an integer representing the percentage of bleaching. The percentage of bleaching may also be controlled after instantiation by invoking the void percent(int) method.

See Also:
RGBImageFilter

Constructor Index

 o BleachImageFilter(int)

Method Index

 o filterRGB(int, int, int)
 o percent()
 o percent(int)

Constructors

 o BleachImageFilter
 public BleachImageFilter(int percent)

Methods

 o percent
 public int percent()
 o percent
 public void percent(int percent)
 o filterRGB
 public int filterRGB(int x,
                      int y,
                      int rgb)
Overrides:
filterRGB in class RGBImageFilter

All Packages  Class Hierarchy  This Package  Previous  Next  Index