org.jscience.media.pictures.filters
Class FillFilter

java.lang.Object
  extended by java.awt.image.ImageFilter
      extended by java.awt.image.RGBImageFilter
          extended by org.jscience.media.pictures.filters.FillFilter
All Implemented Interfaces:
java.awt.image.ImageConsumer, java.io.Serializable, java.lang.Cloneable

public class FillFilter
extends java.awt.image.RGBImageFilter
implements java.io.Serializable

DOCUMENT ME!

See Also:
Serialized Form

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
FillFilter()
          Creates a new FillFilter object.
FillFilter(int color)
          Creates a new FillFilter object.
 
Method Summary
 int filterRGB(int x, int y, int rgb)
          DOCUMENT ME!
 int getFillColor()
          DOCUMENT ME!
 void setFillColor(int fillColor)
          DOCUMENT ME!
 
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

FillFilter

public FillFilter()
Creates a new FillFilter object.


FillFilter

public FillFilter(int color)
Creates a new FillFilter object.

Parameters:
color - DOCUMENT ME!
Method Detail

setFillColor

public void setFillColor(int fillColor)
DOCUMENT ME!

Parameters:
fillColor - DOCUMENT ME!

getFillColor

public int getFillColor()
DOCUMENT ME!

Returns:
DOCUMENT ME!

filterRGB

public int filterRGB(int x,
                     int y,
                     int rgb)
DOCUMENT ME!

Specified by:
filterRGB in class java.awt.image.RGBImageFilter
Parameters:
x - DOCUMENT ME!
y - DOCUMENT ME!
rgb - DOCUMENT ME!
Returns:
DOCUMENT ME!