public class CheckFilter extends PointFilter
canFilterIndexColorModel
filterListener
Constructor and Description |
---|
CheckFilter() |
Modifier and Type | Method and Description |
---|---|
int |
filterRGB(int x,
int y,
int rgb) |
float |
getAngle()
Get the angle of the texture.
|
int |
getBackground()
Get the background color.
|
int |
getForeground()
Get the foreground color.
|
int |
getFuzziness()
Get the fuzziness of the texture.
|
int |
getXScale()
Get the X scale of the texture.
|
int |
getYScale()
Get the Y scale of the texture.
|
void |
setAngle(float angle)
Set the angle of the texture.
|
void |
setBackground(int background)
Set the background color.
|
void |
setForeground(int foreground)
Set the foreground color.
|
void |
setFuzziness(int fuzziness)
Set the fuzziness of the texture.
|
void |
setXScale(int xScale)
Set the X scale of the texture.
|
void |
setYScale(int yScale)
Set the Y scale of the texture.
|
String |
toString() |
filter, setDimensions
clone, createCompatibleDestImage, createCompatibleDestImage, filterDone, filterInitialize, filterProgress, filterStart, getBounds2D, getMetaData, getPoint2D, getRenderingHints, getRGB, setFilterListener, setRGB
public void setForeground(int foreground)
foreground
- the color.getForeground()
public int getForeground()
setForeground(int)
public void setBackground(int background)
background
- the color.getBackground()
public int getBackground()
setBackground(int)
public void setXScale(int xScale)
xScale
- the scale.getXScale()
public int getXScale()
setXScale(int)
public void setYScale(int yScale)
yScale
- the scale.getYScale()
public int getYScale()
setYScale(int)
public void setFuzziness(int fuzziness)
fuzziness
- the fuzziness.getFuzziness()
public int getFuzziness()
setFuzziness(int)
public void setAngle(float angle)
angle
- the angle of the texture.getAngle()
public float getAngle()
setAngle(float)
public int filterRGB(int x, int y, int rgb)
filterRGB
in class PointFilter
Copyright © 2012-2013 Bambi Software Foundation. All Rights Reserved.