Package org.apache.batik.gvt.filter
Interface GraphicsNodeRable
-
- All Superinterfaces:
Filter,java.awt.image.renderable.RenderableImage
- All Known Implementing Classes:
GraphicsNodeRable8Bit
public interface GraphicsNodeRable extends Filter
This interface allowsGraphicsNodeto be seen asRenderableImages, which can be used for operations such as filtering, masking or compositing. Given aGraphicsNode, aGraphicsNodeRablecan be created through aGraphicsNodeRableFactory.- Version:
- $Id: GraphicsNodeRable.java 1733416 2016-03-03 07:07:13Z gadams $
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description GraphicsNodegetGraphicsNode()Returns theGraphicsNodefor which a rendering can be obtainedbooleangetUsePrimitivePaint()Returns 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 org.apache.batik.ext.awt.image.renderable.Filter
getBounds2D, getDependencyRegion, getDirtyRegion, getTimeStamp
-
-
-
-
Method Detail
-
getGraphicsNode
GraphicsNode getGraphicsNode()
Returns theGraphicsNodefor which a rendering can be obtained- Returns:
- the
GraphicsNodeassociated with this image.
-
setGraphicsNode
void setGraphicsNode(GraphicsNode node)
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.
-
-