Interface GraphicsNodeRable
- All Superinterfaces:
Filter, RenderableImage
- All Known Implementing Classes:
GraphicsNodeRable8Bit
This interface allows
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.-
Field Summary
Fields inherited from interface RenderableImage
HINTS_OBSERVED -
Method Summary
Modifier and TypeMethodDescriptionReturns theGraphicsNodefor which a rendering can be obtainedbooleanReturns true if this Rable get's it's contents by calling primitivePaint on the associatedGraphicsNodeor false if it uses paint.voidsetGraphicsNode(GraphicsNode node) Sets theGraphicsNodeassociated with this image.voidsetUsePrimitivePaint(boolean usePrimitivePaint) Set to true if this Rable should get it's contents by calling primitivePaint on the associatedGraphicsNodeor false if it should use paint.Methods inherited from interface Filter
getBounds2D, getDependencyRegion, getDirtyRegion, getTimeStampMethods inherited from interface RenderableImage
createDefaultRendering, createRendering, createScaledRendering, getHeight, getMinX, getMinY, getProperty, getPropertyNames, getSources, getWidth, isDynamic
-
Method Details
-
getGraphicsNode
GraphicsNode getGraphicsNode()Returns theGraphicsNodefor which a rendering can be obtained- Returns:
- the
GraphicsNodeassociated with this image.
-
setGraphicsNode
Sets theGraphicsNodeassociated with this image. -
getUsePrimitivePaint
boolean getUsePrimitivePaint()Returns true if this Rable get's it's contents by calling primitivePaint on the associatedGraphicsNodeor false if it uses paint. -
setUsePrimitivePaint
void setUsePrimitivePaint(boolean usePrimitivePaint) Set to true if this Rable should get it's contents by calling primitivePaint on the associatedGraphicsNodeor false if it should use paint.
-