BufferedImageOp, Cloneablepublic class ErodeAlphaFilter extends PointFilter
| 限定符和类型 | 字段 | 说明 |
|---|---|---|
protected float |
radius |
canFilterIndexColorModel| 构造器 | 说明 |
|---|---|
ErodeAlphaFilter() |
|
ErodeAlphaFilter(float radius,
float threshold,
float softness) |
| 限定符和类型 | 方法 | 说明 |
|---|---|---|
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() |
clone, createCompatibleDestImage, getBounds2D, getPoint2D, getRenderingHints, getRGB, setRGBsetDimensionspublic 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 在接口中 BufferedImageOpfilter 在类中 PointFilterpublic int filterRGB(int x,
int y,
int rgb)
filterRGB 在类中 PointFilterCopyright © 2019. All rights reserved.