public class FourColorFilter extends PointFilter
Modifier and Type | Field and Description |
---|---|
private int |
bNE |
private int |
bNW |
private int |
bSE |
private int |
bSW |
private int |
colorNE |
private int |
colorNW |
private int |
colorSE |
private int |
colorSW |
private int |
gNE |
private int |
gNW |
private int |
gSE |
private int |
gSW |
private int |
height |
private int |
rNE |
private int |
rNW |
private int |
rSE |
private int |
rSW |
private int |
width |
canFilterIndexColorModel
Constructor and Description |
---|
FourColorFilter() |
Modifier and Type | Method and Description |
---|---|
int |
filterRGB(int x,
int y,
int rgb) |
int |
getColorNE() |
int |
getColorNW() |
int |
getColorSE() |
int |
getColorSW() |
void |
setColorNE(int color) |
void |
setColorNW(int color) |
void |
setColorSE(int color) |
void |
setColorSW(int color) |
void |
setDimensions(int width,
int height) |
String |
toString() |
filter
clone, createCompatibleDestImage, getBounds2D, getPoint2D, getRenderingHints, getRGB, setRGB
private int width
private int height
private int colorNW
private int colorNE
private int colorSW
private int colorSE
private int rNW
private int gNW
private int bNW
private int rNE
private int gNE
private int bNE
private int rSW
private int gSW
private int bSW
private int rSE
private int gSE
private int bSE
public FourColorFilter()
public void setColorNW(int color)
public int getColorNW()
public void setColorNE(int color)
public int getColorNE()
public void setColorSW(int color)
public int getColorSW()
public void setColorSE(int color)
public int getColorSE()
public void setDimensions(int width, int height)
setDimensions
in class PointFilter
public int filterRGB(int x, int y, int rgb)
filterRGB
in class PointFilter
WebARTS Library Licensed Under the GNU - General Public License. Other Libraries licensed under their respective Open Source Licenses