org.apache.batik.ext.awt.image.renderable
public class GaussianBlurRable8Bit extends AbstractColorInterpolationRable implements GaussianBlurRable
Field Summary | |
---|---|
static double | eps |
Constructor Summary | |
---|---|
GaussianBlurRable8Bit(Filter src, double stdevX, double stdevY) |
Method Summary | |
---|---|
RenderedImage | createRendering(RenderContext rc) |
static boolean | eps_abs_eq(double f1, double f2) |
static boolean | eps_eq(double f1, double f2) |
Rectangle2D | getBounds2D()
Grow the source's bounds |
Shape | getDependencyRegion(int srcIndex, Rectangle2D outputRgn)
Returns the region of input data is is required to generate
outputRgn. |
Shape | getDirtyRegion(int srcIndex, Rectangle2D inputRgn)
This calculates the region of output that is affected by a change
in a region of input. |
Filter | getSource()
Returns the source of the blur operation |
double | getStdDeviationX()
Returns the deviation along the x-axis, in user space. |
double | getStdDeviationY()
Returns the deviation along the y-axis, in user space. |
void | setSource(Filter src)
Sets the source of the blur operation |
void | setStdDeviationX(double stdDeviationX)
The deviation along the x axis, in user space. |
void | setStdDeviationY(double stdDeviationY)
The deviation along the y axis, in user space. |
Parameters: srcIndex The source to do the dependency calculation for. outputRgn The region of output you are interested in generating dependencies for. The is given in the user coordiate system for this node.
Returns: The region of input required. This is in the user coordinate system for the source indicated by srcIndex.
Parameters: srcIndex The input that inputRgn reflects changes in. inputRgn the region of input that has changed, used to calculate the returned shape. This is given in the user coordinate system of the source indicated by srcIndex.
Returns: The region of output that would be invalid given a change to inputRgn of the source selected by srcIndex. this is in the user coordinate system of this node.
Parameters: stdDeviationX should be greater than zero.
Parameters: stdDeviationY should be greater than zero