com.jhlabs.image
Class ScratchFilter

java.lang.Object
  extended by com.jhlabs.image.AbstractBufferedImageOp
      extended by com.jhlabs.image.ScratchFilter
All Implemented Interfaces:
java.awt.image.BufferedImageOp, java.lang.Cloneable

public class ScratchFilter
extends AbstractBufferedImageOp


Constructor Summary
ScratchFilter()
           
 
Method Summary
 java.awt.image.BufferedImage filter(java.awt.image.BufferedImage src, java.awt.image.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)
           
 java.lang.String toString()
           
 
Methods inherited from class com.jhlabs.image.AbstractBufferedImageOp
clone, createCompatibleDestImage, getBounds2D, getPoint2D, getRenderingHints, getRGB, setRGB
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ScratchFilter

public ScratchFilter()
Method Detail

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

public java.awt.image.BufferedImage filter(java.awt.image.BufferedImage src,
                                           java.awt.image.BufferedImage dst)

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object