|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Implements a Morphology operation, where the kernel size is defined by radius along the x and y axis.
Fields inherited from interface java.awt.image.renderable.RenderableImage |
HINTS_OBSERVED |
Method Summary | |
boolean |
getDoDilation()
Returns whether the operation is "dilation" or not("erosion") |
double |
getRadiusX()
Returns the radius along the x-axis, in user space. |
double |
getRadiusY()
Returns the radius along the y-axis, in user space. |
Filter |
getSource()
Returns the source to be offset. |
void |
setDoDilation(boolean doDilation)
The switch that determines if the operation is to "dilate" or "erode". |
void |
setRadiusX(double radiusX)
The radius along the x axis, in user space. |
void |
setRadiusY(double radiusY)
The radius along the y axis, in user space. |
void |
setSource(Filter src)
Sets the source to be offset. |
Methods inherited from interface org.apache.batik.ext.awt.image.renderable.Filter |
getBounds2D, getDependencyRegion, getDirtyRegion, getTimeStamp |
Methods inherited from interface java.awt.image.renderable.RenderableImage |
createDefaultRendering, createRendering, createScaledRendering, getHeight, getMinX, getMinY, getProperty, getPropertyNames, getSources, getWidth, isDynamic |
Method Detail |
public Filter getSource()
public void setSource(Filter src)
src
- image to offset.public void setRadiusX(double radiusX)
radiusX
- should be greater than zero.public void setRadiusY(double radiusY)
radiusY
- should be greater than zero.public void setDoDilation(boolean doDilation)
doDilation
- do "dilation" when true and "erosion" when falsepublic boolean getDoDilation()
public double getRadiusX()
public double getRadiusY()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |