public class ScratchFilter extends AbstractBufferedImageOp
Modifier and Type | Field and Description |
---|---|
private float |
angle |
private float |
angleVariation |
private int |
color |
private float |
density |
private float |
length |
private int |
seed |
private float |
width |
Constructor and Description |
---|
ScratchFilter() |
Modifier and Type | Method and Description |
---|---|
BufferedImage |
filter(BufferedImage src,
BufferedImage dst) |
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
private float density
private float angle
private float angleVariation
private float width
private float length
private int color
private int seed
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)
WebARTS Library Licensed Under the GNU - General Public License. Other Libraries licensed under their respective Open Source Licenses