public class TritoneFilter extends PointFilter
canFilterIndexColorModel
filterListener
Constructor and Description |
---|
TritoneFilter() |
Modifier and Type | Method and Description |
---|---|
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() |
setDimensions
clone, createCompatibleDestImage, createCompatibleDestImage, filterDone, filterInitialize, filterProgress, filterStart, getBounds2D, getMetaData, getPoint2D, getRenderingHints, getRGB, setFilterListener, setRGB
public BufferedImage filter(BufferedImage src, BufferedImage dst)
filter
in interface BufferedImageOp
filter
in class PointFilter
public int filterRGB(int x, int y, int rgb)
filterRGB
in class PointFilter
public void setShadowColor(int shadowColor)
shadowColor
- the shadow colorgetShadowColor()
public int getShadowColor()
setShadowColor(int)
public void setMidColor(int midColor)
midColor
- the mid color#getmidColor
public int getMidColor()
#setmidColor
public void setHighColor(int highColor)
highColor
- the high color#gethighColor
public int getHighColor()
#sethighColor
Copyright © 2012-2013 Bambi Software Foundation. All Rights Reserved.