public interface Mask extends Filter
HINTS_OBSERVED| Modifier and Type | Method and Description |
|---|---|
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.
|
getBounds2D, getDependencyRegion, getDirtyRegion, getTimeStampcreateDefaultRendering, createRendering, createScaledRendering, getHeight, getMinX, getMinY, getProperty, getPropertyNames, getSources, getWidth, isDynamicRectangle2D getFilterRegion()
void setFilterRegion(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 © 2000–2021 Apache Software Foundation. All rights reserved.