public class SmearFilter extends WholeImageFilter implements DynFiltering
Modifier and Type | Field and Description |
---|---|
static int |
CIRCLES |
static int |
CROSSES |
static int |
LINES |
static int |
SQUARES |
Constructor and Description |
---|
SmearFilter() |
Modifier and Type | Method and Description |
---|---|
BufferedImage |
filter(BufferedImage src,
Struct parameters) |
float |
getAngle()
Returns the angle of the texture.
|
boolean |
getBackground() |
float |
getDensity() |
int |
getDistance() |
int |
getFadeout() |
float |
getMix() |
float |
getScatter() |
int |
getShape() |
void |
randomize() |
void |
setAngle(float angle)
Specifies the angle of the texture.
|
void |
setBackground(boolean background) |
void |
setDensity(float density) |
void |
setDistance(int distance) |
void |
setFadeout(int fadeout) |
void |
setMix(float mix) |
void |
setScatter(float scatter) |
void |
setShape(int shape) |
String |
toString() |
filter
clone, createCompatibleDestImage, getBounds2D, getPoint2D, getRenderingHints, getRGB, setRGB
public static final int CROSSES
public static final int LINES
public static final int CIRCLES
public static final int SQUARES
public SmearFilter()
public void setShape(int shape)
public int getShape()
public void setDistance(int distance)
public int getDistance()
public void setDensity(float density)
public float getDensity()
public void setScatter(float scatter)
public float getScatter()
public void setAngle(float angle)
angle
- the angle of the texture.getAngle()
public float getAngle()
setAngle(float)
public void setMix(float mix)
public float getMix()
public void setFadeout(int fadeout)
public int getFadeout()
public void setBackground(boolean background)
public boolean getBackground()
public void randomize()
public BufferedImage filter(BufferedImage src, Struct parameters) throws PageException
filter
in interface DynFiltering
filter
in class WholeImageFilter
PageException
Copyright © 2015 Lucee