j2d.filters
Class GlintFilter
java.lang.Object
j2d.filters.AbstractBufferedImageOp
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
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
GlintFilter
public GlintFilter()
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