BufferedImageOp, Cloneablepublic 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() |
clone, createCompatibleDestImage, getBounds2D, getPoint2D, getRenderingHints, getRGB, setRGBsetDimensionspublic 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 colorpublic int getMidColor()
public void setHighColor(int highColor)
highColor - the high colorpublic int getHighColor()
Copyright © 2019. All rights reserved.