public class ScratchFilter extends AbstractBufferedImageOp implements DynFiltering
Constructor and Description |
---|
ScratchFilter() |
Modifier and Type | Method and Description |
---|---|
BufferedImage |
filter(BufferedImage src,
BufferedImage dst) |
BufferedImage |
filter(BufferedImage src,
Struct parameters) |
float |
getAngle() |
float |
getAngleVariation() |
int |
getColor() |
float |
getDensity() |
float |
getLength() |
int |
getSeed() |
float |
getWidth() |
void |
setAngle(float angle) |
void |
setAngleVariation(float angleVariation) |
void |
setColor(int color) |
void |
setDensity(float density) |
void |
setLength(float length) |
void |
setSeed(int seed) |
void |
setWidth(float width) |
String |
toString() |
clone, createCompatibleDestImage, getBounds2D, getPoint2D, getRenderingHints, getRGB, setRGB
public ScratchFilter()
public void setAngle(float angle)
public float getAngle()
public void setAngleVariation(float angleVariation)
public float getAngleVariation()
public void setDensity(float density)
public float getDensity()
public void setLength(float length)
public float getLength()
public void setWidth(float width)
public float getWidth()
public void setColor(int color)
public int getColor()
public void setSeed(int seed)
public int getSeed()
public BufferedImage filter(BufferedImage src, BufferedImage dst)
filter
in interface BufferedImageOp
public BufferedImage filter(BufferedImage src, Struct parameters) throws PageException
filter
in interface DynFiltering
PageException
Copyright © 2015 Lucee