public class ErodeAlphaFilter extends PointFilter
Modifier and Type | Field and Description |
---|---|
private float |
lowerThreshold |
protected float |
radius |
private float |
softness |
private float |
threshold |
private float |
upperThreshold |
canFilterIndexColorModel
Constructor and Description |
---|
ErodeAlphaFilter() |
ErodeAlphaFilter(float radius,
float threshold,
float softness) |
Modifier and Type | Method and Description |
---|---|
BufferedImage |
filter(BufferedImage src,
BufferedImage dst) |
int |
filterRGB(int x,
int y,
int rgb) |
float |
getRadius() |
float |
getSoftness() |
float |
getThreshold() |
void |
setRadius(float radius) |
void |
setSoftness(float softness) |
void |
setThreshold(float threshold) |
String |
toString() |
setDimensions
clone, createCompatibleDestImage, getBounds2D, getPoint2D, getRenderingHints, getRGB, setRGB
private float threshold
private float softness
protected float radius
private float lowerThreshold
private float upperThreshold
public ErodeAlphaFilter()
public ErodeAlphaFilter(float radius, float threshold, float softness)
public void setRadius(float radius)
public float getRadius()
public void setThreshold(float threshold)
public float getThreshold()
public void setSoftness(float softness)
public float getSoftness()
public BufferedImage filter(BufferedImage src, BufferedImage dst)
filter
in interface BufferedImageOp
filter
in class PointFilter
public int filterRGB(int x, int y, int rgb)
filterRGB
in class PointFilter
WebARTS Library Licensed Under the GNU - General Public License. Other Libraries licensed under their respective Open Source Licenses