public interface Mask extends Filter
Modifier and Type | Method and Description |
---|---|
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.
|
getBounds2D, getDependencyRegion, getDirtyRegion, getTimeStamp
java.awt.geom.Rectangle2D getFilterRegion()
void setFilterRegion(java.awt.geom.Rectangle2D filterRegion)
void setSource(Filter src)
src
- The Image to be masked.Filter getSource()
void setMaskNode(GraphicsNode gn)
gn
- The graphics node that defines the mask image.GraphicsNode getMaskNode()
Copyright © 2022 Apache Software Foundation. All Rights Reserved.