BufferedImageOp, Cloneablepublic class DissolveFilter extends PointFilter
canFilterIndexColorModel| 构造器 | 说明 |
|---|---|
DissolveFilter() |
| 限定符和类型 | 方法 | 说明 |
|---|---|---|
BufferedImage |
filter(BufferedImage src,
BufferedImage dst) |
|
int |
filterRGB(int x,
int y,
int rgb) |
|
float |
getDensity() |
Get the density of the image.
|
float |
getSoftness() |
Get the softness of the dissolve.
|
void |
setDensity(float density) |
Set the density of the image in the range 0..1.
|
void |
setSoftness(float softness) |
Set the softness of the dissolve in the range 0..1.
|
String |
toString() |
clone, createCompatibleDestImage, getBounds2D, getPoint2D, getRenderingHints, getRGB, setRGBsetDimensionspublic void setDensity(float density)
density - the density min-value 0 max-value 1getDensity()public float getDensity()
setDensity(float)public void setSoftness(float softness)
softness - the softness
min-value 0
max-value 1getSoftness()public float getSoftness()
setSoftness(float)public BufferedImage filter(BufferedImage src, BufferedImage dst)
filter 在接口中 BufferedImageOpfilter 在类中 PointFilterpublic int filterRGB(int x,
int y,
int rgb)
filterRGB 在类中 PointFilterCopyright © 2019. All rights reserved.