com.jhlabs.image
Class RGBAdjustFilter

java.lang.Object
  extended by com.jhlabs.image.AbstractBufferedImageOp
      extended by com.jhlabs.image.PointFilter
          extended by com.jhlabs.image.RGBAdjustFilter
All Implemented Interfaces:
ImageProcessorInterface, java.awt.image.BufferedImageOp, java.io.Serializable, java.lang.Cloneable

public class RGBAdjustFilter
extends PointFilter
implements java.io.Serializable

See Also:
Serialized Form

Field Summary
 float bFactor
           
 float gFactor
           
 float rFactor
           
 
Constructor Summary
RGBAdjustFilter()
           
RGBAdjustFilter(float r, float g, float b)
           
 
Method Summary
 int filterRGB(int x, int y, int rgb)
           
 float getBFactor()
           
 float getGFactor()
           
 float getRFactor()
           
 void setBFactor(float bFactor)
           
 void setGFactor(float gFactor)
           
 void setRFactor(float rFactor)
           
 java.lang.String toString()
           
 
Methods inherited from class com.jhlabs.image.PointFilter
filter, setDimensions
 
Methods inherited from class com.jhlabs.image.AbstractBufferedImageOp
createCompatibleDestImage, getBounds2D, getPoint2D, getRenderingHints, getRGB, process, setRGB
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

rFactor

public float rFactor

gFactor

public float gFactor

bFactor

public float bFactor
Constructor Detail

RGBAdjustFilter

public RGBAdjustFilter()

RGBAdjustFilter

public RGBAdjustFilter(float r,
                       float g,
                       float b)
Method Detail

setRFactor

public void setRFactor(float rFactor)

getRFactor

public float getRFactor()

setGFactor

public void setGFactor(float gFactor)

getGFactor

public float getGFactor()

setBFactor

public void setBFactor(float bFactor)

getBFactor

public float getBFactor()

filterRGB

public int filterRGB(int x,
                     int y,
                     int rgb)
Specified by:
filterRGB in class PointFilter

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object