org.jscience.media.pictures.filters
Class RGBAdjustFilter

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

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

DOCUMENT ME!

See Also:
Serialized Form

Field Summary
 float bFactor
          DOCUMENT ME!
 float gFactor
          DOCUMENT ME!
 float rFactor
          DOCUMENT ME!
 
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
RGBAdjustFilter()
          Creates a new RGBAdjustFilter object.
RGBAdjustFilter(float r, float g, float b)
          Creates a new RGBAdjustFilter object.
 
Method Summary
 int filterRGB(int x, int y, int rgb)
          DOCUMENT ME!
 java.lang.String toString()
          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, wait, wait, wait
 

Field Detail

rFactor

public float rFactor
DOCUMENT ME!


gFactor

public float gFactor
DOCUMENT ME!


bFactor

public float bFactor
DOCUMENT ME!

Constructor Detail

RGBAdjustFilter

public RGBAdjustFilter()
Creates a new RGBAdjustFilter object.


RGBAdjustFilter

public RGBAdjustFilter(float r,
                       float g,
                       float b)
Creates a new RGBAdjustFilter object.

Parameters:
r - DOCUMENT ME!
g - DOCUMENT ME!
b - DOCUMENT ME!
Method Detail

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!

toString

public java.lang.String toString()
DOCUMENT ME!

Overrides:
toString in class java.lang.Object
Returns:
DOCUMENT ME!