public class CheckFilter extends PointFilter implements DynFiltering
Constructor and Description |
---|
CheckFilter() |
Modifier and Type | Method and Description |
---|---|
BufferedImage |
filter(BufferedImage src,
Struct parameters) |
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
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
public BufferedImage filter(BufferedImage src, Struct parameters) throws PageException
filter
in interface DynFiltering
filter
in class PointFilter
PageException
Copyright © 2015 Lucee