org.apache.batik.gvt.filter
public class MaskRable8Bit extends AbstractRable implements Mask
| Field Summary | |
|---|---|
| protected Rectangle2D | filterRegion
Region to which the mask applies |
| protected GraphicsNode | mask
The node who's outline specifies our mask. |
| Constructor Summary | |
|---|---|
| MaskRable8Bit(Filter src, GraphicsNode mask, Rectangle2D filterRegion) | |
| Method Summary | |
|---|---|
| RenderedImage | createRendering(RenderContext rc) |
| Rectangle2D | getBounds2D()
Pass-through: returns the source's bounds |
| 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(Rectangle2D filterRegion)
Returns the filter region to which this mask applies |
| void | setMaskNode(GraphicsNode mask)
Set the masking image to that described by gn.
|
| void | setSource(Filter src)
The source to be masked by the mask node. |
Returns: The graphics node that defines the mask image.
Returns: The image to mask
Parameters: mask The graphics node that defines the mask image.
Parameters: src The Image to be masked.