| java.lang.Object org.apache.batik.ext.awt.image.renderable.AbstractRable org.apache.batik.gvt.filter.MaskRable8Bit
MaskRable8Bit | public class MaskRable8Bit extends AbstractRable implements Mask(Code) | | MaskRable implementation
author: Thomas DeWeese version: $Id: MaskRable8Bit.java 475477 2006-11-15 22:44:28Z cam $ |
filterRegion | protected Rectangle2D filterRegion(Code) | | Region to which the mask applies
|
createRendering | public RenderedImage createRendering(RenderContext rc)(Code) | | |
getBounds2D | public Rectangle2D getBounds2D()(Code) | | Pass-through: returns the source's bounds
|
getFilterRegion | public Rectangle2D getFilterRegion()(Code) | | The region to which this mask applies
|
getMaskNode | public GraphicsNode getMaskNode()(Code) | | Returns the Graphics node that the mask operation will use to
define the masking image.
The graphics node that defines the mask image. |
getSource | public Filter getSource()(Code) | | This returns the current image being masked by the mask node.
The image to mask |
setFilterRegion | public void setFilterRegion(Rectangle2D filterRegion)(Code) | | Returns the filter region to which this mask applies
|
setMaskNode | public void setMaskNode(GraphicsNode mask)(Code) | | Set the masking image to that described by gn.
If gn is an rgba image then the alpha is premultiplied and then
the rgb is converted to alpha via the standard feColorMatrix
rgb to luminance conversion.
In the case of an rgb only image, just the rgb to luminance
conversion is performed.
Parameters: mask - The graphics node that defines the mask image. |
setSource | public void setSource(Filter src)(Code) | | The source to be masked by the mask node.
Parameters: src - The Image to be masked. |
|
|