public class HalftoneFilter extends AbstractBufferedImageOp implements DynFiltering
Constructor and Description |
---|
HalftoneFilter() |
Modifier and Type | Method and Description |
---|---|
BufferedImage |
filter(BufferedImage src,
BufferedImage dst) |
BufferedImage |
filter(BufferedImage src,
Struct parameters) |
float |
getDensity() |
boolean |
getInvert() |
BufferedImage |
getMask() |
float |
getSoftness()
Get the softness of the effect.
|
void |
setDensity(float density)
Set the density of the image in the range 0..1.
|
void |
setInvert(boolean invert) |
void |
setMask(BufferedImage mask) |
void |
setSoftness(float softness)
Set the softness of the effect in the range 0..1.
|
String |
toString() |
clone, createCompatibleDestImage, getBounds2D, getPoint2D, getRenderingHints, getRGB, setRGB
public HalftoneFilter()
public void setDensity(float density)
public float getDensity()
public void setSoftness(float softness)
softness
- the softnessgetSoftness()
public float getSoftness()
setSoftness(float)
public void setMask(BufferedImage mask)
public BufferedImage getMask()
public void setInvert(boolean invert)
public boolean getInvert()
public BufferedImage filter(BufferedImage src, BufferedImage dst)
filter
in interface BufferedImageOp
public BufferedImage filter(BufferedImage src, Struct parameters) throws PageException
filter
in interface DynFiltering
PageException
Copyright © 2015 Lucee