public class OilFilter extends WholeImageFilter
originalSpace, transformedSpacefilterListener| Constructor and Description |
|---|
OilFilter() |
| Modifier and Type | Method and Description |
|---|---|
protected int[] |
filterPixels(int width,
int height,
int[] inPixels,
Rectangle transformedSpace)
Actually filter the pixels.
|
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, transformSpaceclone, createCompatibleDestImage, createCompatibleDestImage, filterDone, filterInitialize, filterProgress, filterStart, getBounds2D, getMetaData, getPoint2D, getRenderingHints, getRGB, setFilterListener, setRGBpublic 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)protected int[] filterPixels(int width,
int height,
int[] inPixels,
Rectangle transformedSpace)
WholeImageFilterfilterPixels in class WholeImageFilterwidth - the image widthheight - the image heightinPixels - the image pixelstransformedSpace - the output boundsCopyright © 2012-2013 Bambi Software Foundation. All Rights Reserved.