com.jhlabs.image
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() |
float |
getSoftness() |
void |
setDensity(float density)
Set the density of the image in the range 0..1.
|
void |
setSoftness(float softness)
Set the density of the dissolve in the range 0..1.
|
java.lang.String |
toString() |
setDimensions
clone, createCompatibleDestImage, getBounds2D, getPoint2D, getRenderingHints, getRGB, setRGB
public void setDensity(float density)
public float getDensity()
public void setSoftness(float softness)
public float getSoftness()
public java.awt.image.BufferedImage filter(java.awt.image.BufferedImage src, java.awt.image.BufferedImage dst)
filter
in interface java.awt.image.BufferedImageOp
filter
in class PointFilter
public int filterRGB(int x, int y, int rgb)
filterRGB
in class PointFilter
public java.lang.String toString()
toString
in class java.lang.Object