public class TritoneFilter extends PointFilter
canFilterIndexColorModel| 构造器和说明 |
|---|
TritoneFilter() |
| 限定符和类型 | 方法和说明 |
|---|---|
BufferedImage |
filter(BufferedImage src,
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.
|
String |
toString() |
setDimensionsclone, createCompatibleDestImage, getBounds2D, getPoint2D, getRenderingHints, getRGB, setRGBpublic BufferedImage filter(BufferedImage src, BufferedImage dst)
filter 在接口中 BufferedImageOpfilter 在类中 PointFilterpublic int filterRGB(int x,
int y,
int rgb)
filterRGB 在类中 PointFilterpublic void setShadowColor(int shadowColor)
shadowColor - the shadow colorgetShadowColor()public int getShadowColor()
setShadowColor(int)public void setMidColor(int midColor)
midColor - the mid color#getmidColorpublic int getMidColor()
#setmidColorpublic void setHighColor(int highColor)
highColor - the high color#gethighColorpublic int getHighColor()
#sethighColorCopyright © 2015. All rights reserved.