jfig.gui
Class InvertGrayFilter

java.lang.Object
  extended byjava.awt.image.ImageFilter
      extended byjava.awt.image.RGBImageFilter
          extended byjfig.gui.InvertGrayFilter
All Implemented Interfaces:
java.lang.Cloneable, java.awt.image.ImageConsumer

public class InvertGrayFilter
extends java.awt.image.RGBImageFilter

create an inverted and grayed-out version of an Image.


Field Summary
 
Fields inherited from class java.awt.image.RGBImageFilter
canFilterIndexColorModel, newmodel, origmodel
 
Fields inherited from class java.awt.image.ImageFilter
consumer
 
Fields inherited from interface java.awt.image.ImageConsumer
COMPLETESCANLINES, IMAGEABORTED, IMAGEERROR, RANDOMPIXELORDER, SINGLEFRAME, SINGLEFRAMEDONE, SINGLEPASS, STATICIMAGEDONE, TOPDOWNLEFTRIGHT
 
Constructor Summary
InvertGrayFilter()
           
 
Method Summary
 int filterRGB(int x, int y, int rgb)
           
 
Methods inherited from class java.awt.image.RGBImageFilter
filterIndexColorModel, filterRGBPixels, setColorModel, setPixels, setPixels, substituteColorModel
 
Methods inherited from class java.awt.image.ImageFilter
clone, getFilterInstance, imageComplete, resendTopDownLeftRight, setDimensions, setHints, setProperties
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

InvertGrayFilter

public InvertGrayFilter()
Method Detail

filterRGB

public int filterRGB(int x,
                     int y,
                     int rgb)