public class OilFilter extends WholeImageFilter implements DynFiltering
Constructor and Description |
---|
OilFilter() |
Modifier and Type | Method and Description |
---|---|
BufferedImage |
filter(BufferedImage src,
Struct parameters) |
int |
getLevels()
Get the number of levels for the effect.
|
int |
getRange()
Get the range of the effect in pixels.
|
void |
setLevels(int levels)
Set the number of levels for the effect.
|
void |
setRange(int range)
Set the range of the effect in pixels.
|
String |
toString() |
filter
clone, createCompatibleDestImage, getBounds2D, getPoint2D, getRenderingHints, getRGB, setRGB
public OilFilter()
public void setRange(int range)
range
- the rangegetRange()
public int getRange()
setRange(int)
public void setLevels(int levels)
levels
- the number of levelsgetLevels()
public int getLevels()
setLevels(int)
public BufferedImage filter(BufferedImage src, Struct parameters) throws PageException
filter
in interface DynFiltering
filter
in class WholeImageFilter
PageException
Copyright © 2015 Lucee