com.jhlabs.image
Class ErodeAlphaFilter
java.lang.Object
com.jhlabs.image.AbstractBufferedImageOp
com.jhlabs.image.PointFilter
com.jhlabs.image.ErodeAlphaFilter
- All Implemented Interfaces:
- java.awt.image.BufferedImageOp, java.lang.Cloneable
public class ErodeAlphaFilter
- extends PointFilter
Field Summary |
protected float |
radius
|
Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
radius
protected float radius
ErodeAlphaFilter
public ErodeAlphaFilter()
ErodeAlphaFilter
public ErodeAlphaFilter(float radius,
float threshold,
float softness)
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()
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