com.jhlabs.image
Class StampFilter

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

public class StampFilter
extends PointFilter


Constructor Summary
StampFilter()
           
StampFilter(float threshold)
           
 
Method Summary
 java.awt.image.BufferedImage filter(java.awt.image.BufferedImage src, java.awt.image.BufferedImage dst)
           
 int filterRGB(int x, int y, int rgb)
           
 int getBlack()
           
 float getRadius()
           
 float getSoftness()
           
 float getThreshold()
           
 int getWhite()
           
 void setBlack(int black)
           
 void setRadius(float radius)
           
 void setSoftness(float softness)
           
 void setThreshold(float threshold)
           
 void setWhite(int white)
           
 java.lang.String toString()
           
 
Methods inherited from class com.jhlabs.image.PointFilter
setDimensions
 
Methods inherited from class com.jhlabs.image.AbstractBufferedImageOp
createCompatibleDestImage, getBounds2D, getPoint2D, getRenderingHints, getRGB, process, setRGB
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

StampFilter

public StampFilter()

StampFilter

public StampFilter(float threshold)
Method Detail

setRadius

public void setRadius(float radius)

getRadius

public float getRadius()

setThreshold

public void setThreshold(float threshold)

getThreshold

public float getThreshold()

setSoftness

public void setSoftness(float softness)

getSoftness

public float getSoftness()

setWhite

public void setWhite(int white)

getWhite

public int getWhite()

setBlack

public void setBlack(int black)

getBlack

public int getBlack()

filter

public java.awt.image.BufferedImage filter(java.awt.image.BufferedImage src,
                                           java.awt.image.BufferedImage dst)
Specified by:
filter in interface java.awt.image.BufferedImageOp
Overrides:
filter in class PointFilter

filterRGB

public int filterRGB(int x,
                     int y,
                     int rgb)
Specified by:
filterRGB in class PointFilter

toString

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