com.jhlabs.image

Class ScratchFilter

Implemented Interfaces:
BufferedImageOp, Cloneable

public class ScratchFilter
extends AbstractBufferedImageOp

Constructor Summary

ScratchFilter()

Method Summary

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()

Methods inherited from class com.jhlabs.image.AbstractBufferedImageOp

clone, createCompatibleDestImage, getBounds2D, getPoint2D, getRGB, getRenderingHints, setRGB

Constructor Details

ScratchFilter

public ScratchFilter()

Method Details

filter

public BufferedImage filter(BufferedImage src,
                            BufferedImage dst)

getAngle

public float getAngle()

getAngleVariation

public float getAngleVariation()

getColor

public int getColor()

getDensity

public float getDensity()

getLength

public float getLength()

getSeed

public int getSeed()

getWidth

public float getWidth()

setAngle

public void setAngle(float angle)

setAngleVariation

public void setAngleVariation(float angleVariation)

setColor

public void setColor(int color)

setDensity

public void setDensity(float density)

setLength

public void setLength(float length)

setSeed

public void setSeed(int seed)

setWidth

public void setWidth(float width)

toString

public String toString()