org.apache.batik.ext.awt.image.renderable
public class ClipRable8Bit extends AbstractRable implements ClipRable
| Field Summary | |
|---|---|
| protected Shape | clipPath
The node who's outline specifies our mask. |
| protected boolean | useAA |
| Constructor Summary | |
|---|---|
| ClipRable8Bit(Filter src, Shape clipPath) | |
| ClipRable8Bit(Filter src, Shape clipPath, boolean useAA) | |
| Method Summary | |
|---|---|
| RenderedImage | createRendering(RenderContext rc) |
| Rectangle2D | getBounds2D()
Pass-through: returns the source's bounds |
| Shape | getClipPath()
Returns the Shape that the cliprable will use to
define the clip path. |
| Filter | getSource()
This returns the current image being masked by the mask node. |
| boolean | getUseAntialiasedClip()
Resturns true if the default behaviour should be to use
anti-aliased clipping. |
| void | setClipPath(Shape clipPath)
Set the clip path to use.
|
| void | setSource(Filter src)
The source to be masked by the mask node. |
| void | setUseAntialiasedClip(boolean useAA)
Set the default behaviour of anti-aliased clipping.
for this clip object. |
Returns: The shape that defines the clip path.
Returns: The image to mask
Parameters: clipPath The clip path to use
Parameters: src The Image to be masked.