public class DiffuseFilter extends TransformFilter
BILINEAR, CLAMP, edgeAction, interpolation, NEAREST_NEIGHBOUR, originalSpace, RGB_CLAMP, transformedSpace, WRAP, ZEROfilterListener| Constructor and Description |
|---|
DiffuseFilter() |
| Modifier and Type | Method and Description |
|---|---|
BufferedImage |
filter(BufferedImage src,
BufferedImage dst) |
float |
getScale()
Returns the scale of the texture.
|
void |
setScale(float scale)
Specifies the scale of the texture.
|
String |
toString() |
protected void |
transformInverse(int x,
int y,
float[] out)
Inverse transform a point.
|
filterPixelsNN, getEdgeAction, getInterpolation, setEdgeAction, setInterpolation, transformSpaceclone, createCompatibleDestImage, createCompatibleDestImage, filterDone, filterInitialize, filterProgress, filterStart, getBounds2D, getMetaData, getPoint2D, getRenderingHints, getRGB, setFilterListener, setRGBpublic void setScale(float scale)
scale - the scale of the texture.getScale()public float getScale()
setScale(float)protected void transformInverse(int x,
int y,
float[] out)
TransformFiltertransformInverse in class TransformFilterx - the X position of the pixel in the output imagey - the Y position of the pixel in the output imageout - the position of the pixel in the input imagepublic BufferedImage filter(BufferedImage src, BufferedImage dst)
filter in interface BufferedImageOpfilter in class TransformFilterCopyright © 2012-2013 Bambi Software Foundation. All Rights Reserved.