j2d.filters
Class GlintFilter

java.lang.Object
  extended by j2d.filters.AbstractBufferedImageOp
      extended by j2d.filters.GlintFilter
All Implemented Interfaces:
ImageProcessorInterface, java.awt.image.BufferedImageOp, java.io.Serializable, java.lang.Cloneable

public class GlintFilter
extends AbstractBufferedImageOp

See Also:
Serialized Form

Constructor Summary
GlintFilter()
           
 
Method Summary
 java.awt.image.BufferedImage filter(java.awt.image.BufferedImage src, java.awt.image.BufferedImage dst)
           
 float getAmount()
           
 float getBlur()
           
 Colormap getColormap()
           
 boolean getGlintOnly()
           
 int getLength()
           
 float getThreshold()
           
 java.awt.Image process(java.awt.Image image)
          a basic garbage in, garbage out processor.
 void setAmount(float amount)
           
 void setBlur(float blur)
           
 void setColormap(int mapIndex)
           
 void setGlintOnly(boolean glintOnly)
           
 void setLength(int length)
           
 void setThreshold(float threshold)
           
 java.lang.String toString()
           
 
Methods inherited from class j2d.filters.AbstractBufferedImageOp
createCompatibleDestImage, getBounds2D, getPoint2D, getRenderingHints, getRGB, setRGB
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

GlintFilter

public GlintFilter()
Method Detail

setColormap

public void setColormap(int mapIndex)

setThreshold

public void setThreshold(float threshold)

getThreshold

public float getThreshold()

setAmount

public void setAmount(float amount)

getAmount

public float getAmount()

setLength

public void setLength(int length)

getLength

public int getLength()

setBlur

public void setBlur(float blur)

getBlur

public float getBlur()

setGlintOnly

public void setGlintOnly(boolean glintOnly)

getGlintOnly

public boolean getGlintOnly()

getColormap

public Colormap getColormap()

process

public java.awt.Image process(java.awt.Image image)
Description copied from interface: ImageProcessorInterface
a basic garbage in, garbage out processor.

Specified by:
process in interface ImageProcessorInterface
Overrides:
process in class AbstractBufferedImageOp
Parameters:
image - input image
Returns:
output image

filter

public java.awt.image.BufferedImage filter(java.awt.image.BufferedImage src,
                                           java.awt.image.BufferedImage dst)

toString

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