public class DissolveFilter extends PointFilter
canFilterIndexColorModel| Constructor and Description |
|---|
DissolveFilter() |
| Modifier and Type | Method and Description |
|---|---|
java.awt.image.BufferedImage |
filter(java.awt.image.BufferedImage src,
java.awt.image.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.
|
java.lang.String |
toString() |
setDimensionsclone, createCompatibleDestImage, getBounds2D, getPoint2D, getRenderingHints, getRGB, setRGB, stringToColorpublic 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 java.awt.image.BufferedImage filter(java.awt.image.BufferedImage src,
java.awt.image.BufferedImage dst)
filter in interface java.awt.image.BufferedImageOpfilter in class PointFilterpublic int filterRGB(int x,
int y,
int rgb)
filterRGB in class PointFilterpublic java.lang.String toString()
toString in class java.lang.Object