public class CheckFilter extends PointFilter
Modifier and Type | Field and Description |
---|---|
private float |
angle |
private int |
background |
private int |
foreground |
private int |
fuzziness |
private float |
m00 |
private float |
m01 |
private float |
m10 |
private float |
m11 |
private int |
xScale |
private int |
yScale |
canFilterIndexColorModel
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, getBounds2D, getPoint2D, getRenderingHints, getRGB, setRGB
private int xScale
private int yScale
private int foreground
private int background
private int fuzziness
private float angle
private float m00
private float m01
private float m10
private float m11
public CheckFilter()
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
WebARTS Library Licensed Under the GNU - General Public License. Other Libraries licensed under their respective Open Source Licenses