Package com.jhlabs.image
Class ScratchFilter
java.lang.Object
com.jhlabs.image.AbstractBufferedImageOp
com.jhlabs.image.ScratchFilter
- All Implemented Interfaces:
BufferedImageOp,Cloneable
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfilter(BufferedImage src, BufferedImage dst) floatgetAngle()floatintgetColor()floatfloatintgetSeed()floatgetWidth()voidsetAngle(float angle) voidsetAngleVariation(float angleVariation) voidsetColor(int color) voidsetDensity(float density) voidsetLength(float length) voidsetSeed(int seed) voidsetWidth(float width) toString()Methods inherited from class com.jhlabs.image.AbstractBufferedImageOp
clone, createCompatibleDestImage, getBounds2D, getPoint2D, getRenderingHints, getRGB, setRGB
-
Constructor Details
-
ScratchFilter
public ScratchFilter()
-
-
Method Details
-
setAngle
public void setAngle(float angle) -
getAngle
public float getAngle() -
setAngleVariation
public void setAngleVariation(float angleVariation) -
getAngleVariation
public float getAngleVariation() -
setDensity
public void setDensity(float density) -
getDensity
public float getDensity() -
setLength
public void setLength(float length) -
getLength
public float getLength() -
setWidth
public void setWidth(float width) -
getWidth
public float getWidth() -
setColor
public void setColor(int color) -
getColor
public int getColor() -
setSeed
public void setSeed(int seed) -
getSeed
public int getSeed() -
filter
-
toString
-