public class TritoneFilter extends PointFilter
canFilterIndexColorModel| Constructor and Description |
|---|
TritoneFilter() |
| Modifier and Type | Method and Description |
|---|---|
java.awt.image.BufferedImage |
filter(java.awt.image.BufferedImage src,
java.awt.image.BufferedImage dst) |
int |
filterRGB(int x,
int y,
int rgb) |
int |
getHighColor()
Get the high color.
|
int |
getMidColor()
Get the mid color.
|
int |
getShadowColor()
Get the shadow color.
|
void |
setHighColor(int highColor)
Set the high color.
|
void |
setMidColor(int midColor)
Set the mid color.
|
void |
setShadowColor(int shadowColor)
Set the shadow color.
|
java.lang.String |
toString() |
setDimensionsclone, createCompatibleDestImage, getBounds2D, getPoint2D, getRenderingHints, getRGB, setRGB, stringToColorpublic java.awt.image.BufferedImage filter(java.awt.image.BufferedImage src,
java.awt.image.BufferedImage dst)
filter in interface java.awt.image.BufferedImageOpfilter in class PointFilterpublic int filterRGB(int x,
int y,
int rgb)
filterRGB in class PointFilterpublic void setShadowColor(int shadowColor)
shadowColor - the shadow colorgetShadowColor()public int getShadowColor()
setShadowColor(int)public void setMidColor(int midColor)
midColor - the mid colorgetMidColor()public int getMidColor()
setMidColor(int)public void setHighColor(int highColor)
highColor - the high colorgetHighColor()public int getHighColor()
setHighColor(int)public java.lang.String toString()
toString in class java.lang.Object