org.wegra.awt.image
Class HSBFilter

java.lang.Object
  extended byjava.awt.image.ImageFilter
      extended byjava.awt.image.RGBImageFilter
          extended byorg.wegra.awt.image.HSBFilter
All Implemented Interfaces:
java.lang.Cloneable, java.awt.image.ImageConsumer

public class HSBFilter
extends java.awt.image.RGBImageFilter


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
HSBFilter(float hue, float saturation, float brightness)
           
 
Method Summary
 int filterRGB(int x, int y, int rgb)
           
 float getBrightnessRate()
           
 float getHueRate()
           
 float getSaturationRate()
           
 void setBrightnessRate(float rate)
           
 void setHueRate(float rate)
           
 void setSaturationRate(float rate)
           
 
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

HSBFilter

public HSBFilter(float hue,
                 float saturation,
                 float brightness)
Method Detail

filterRGB

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

getBrightnessRate

public float getBrightnessRate()

getHueRate

public float getHueRate()

getSaturationRate

public float getSaturationRate()

setBrightnessRate

public void setBrightnessRate(float rate)

setHueRate

public void setHueRate(float rate)

setSaturationRate

public void setSaturationRate(float rate)