org.apache.batik.gvt.filter
public interface Mask extends Filter
Method Summary | |
---|---|
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 gn)
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: gn The graphics node that defines the mask image.
Parameters: src The Image to be masked.