public interface GraphicsNodeRable extends Filter
GraphicsNode
to be seen as
RenderableImages
, which can be used for operations such as
filtering, masking or compositing.
Given a GraphicsNode
, a GraphicsNodeRable
can be
created through a GraphicsNodeRableFactory
.Modifier and Type | Method and Description |
---|---|
GraphicsNode |
getGraphicsNode()
Returns the
GraphicsNode for which a rendering can be obtained |
boolean |
getUsePrimitivePaint()
Returns true if this Rable get's it's contents by calling
primitivePaint on the associated
GraphicsNode or
false if it uses paint. |
void |
setGraphicsNode(GraphicsNode node)
Sets the
GraphicsNode associated with this image. |
void |
setUsePrimitivePaint(boolean usePrimitivePaint)
Set to true if this Rable should get it's contents by calling
primitivePaint on the associated
GraphicsNode or false
if it should use paint. |
getBounds2D, getDependencyRegion, getDirtyRegion, getTimeStamp
GraphicsNode getGraphicsNode()
GraphicsNode
for which a rendering can be obtainedGraphicsNode
associated with this image.void setGraphicsNode(GraphicsNode node)
GraphicsNode
associated with this image.boolean getUsePrimitivePaint()
GraphicsNode
or
false if it uses paint.void setUsePrimitivePaint(boolean usePrimitivePaint)
GraphicsNode
or false
if it should use paint.Copyright © 2022 Apache Software Foundation. All Rights Reserved.