public class DissolveFilter extends PointFilter implements DynFiltering
Constructor and Description |
---|
DissolveFilter() |
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 |
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() |
setDimensions
clone, createCompatibleDestImage, getBounds2D, getPoint2D, getRenderingHints, getRGB, setRGB
public DissolveFilter()
public void setDensity(float density)
density
- the densitygetDensity()
public float getDensity()
setDensity(float)
public void setSoftness(float softness)
softness
- the softnessgetSoftness()
public float getSoftness()
setSoftness(float)
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