public class ErodeAlphaFilter extends PointFilter
Modifier and Type | Field and Description |
---|---|
protected float |
radius |
canFilterIndexColorModel
filterListener
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, createCompatibleDestImage, filterDone, filterInitialize, filterProgress, filterStart, getBounds2D, getMetaData, getPoint2D, getRenderingHints, getRGB, setFilterListener, setRGB
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
Copyright © 2012-2013 Bambi Software Foundation. All Rights Reserved.