|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Implements a masking operation. This masks the source by the result of converting the GraphicsNode to a mask image.
Field Summary |
Fields inherited from interface java.awt.image.renderable.RenderableImage |
HINTS_OBSERVED |
Method Summary | |
java.awt.geom.Rectangle2D |
getFilterRegion()
The region to which this mask applies |
GraphicsNode |
getMaskNode()
Returns the Graphics node that the mask operation will use to define the masking image. |
Filter |
getSource()
This returns the current image being masked by the mask node. |
void |
setFilterRegion(java.awt.geom.Rectangle2D filterRegion)
Returns the filter region to which this mask applies |
void |
setMaskNode(GraphicsNode gn)
Set the masking image to that described by gn. |
void |
setSource(Filter src)
The source to be masked by the mask node. |
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 java.awt.geom.Rectangle2D getFilterRegion()
public void setFilterRegion(java.awt.geom.Rectangle2D filterRegion)
public void setSource(Filter src)
src
- The Image to be masked.public Filter getSource()
public void setMaskNode(GraphicsNode gn)
gn
- The graphics node that defines the mask image.public GraphicsNode getMaskNode()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |