public class ErodeAlphaFilter extends PointFilter implements DynFiltering
Constructor and Description |
---|
ErodeAlphaFilter() |
ErodeAlphaFilter(float radius,
float threshold,
float softness) |
Modifier and Type | Method and Description |
---|---|
BufferedImage |
filter(BufferedImage src,
BufferedImage dst) |
BufferedImage |
filter(BufferedImage src,
Struct parameters) |
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
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
public BufferedImage filter(BufferedImage src, Struct parameters) throws PageException
filter
in interface DynFiltering
filter
in class PointFilter
PageException
Copyright © 2015 Lucee