org.apache.batik.gvt
Interface ShapeNode
- All Superinterfaces:
- GraphicsNode, LeafGraphicsNode
- All Known Implementing Classes:
- ConcreteShapeNode
- public interface ShapeNode
- extends LeafGraphicsNode
A graphics node that represents a shape.
Method Summary |
java.awt.Shape |
getShape()
Returns the shape of this shape node. |
ShapePainter |
getShapePainter()
Returns the ShapePainter used by this shape node to render the shape. |
void |
setShape(java.awt.Shape newShape)
Sets the shape of this shape node. |
void |
setShapePainter(ShapePainter newShapePainter)
Sets the ShapePainter used by this shape node to render the shape. |
Methods inherited from interface org.apache.batik.gvt.GraphicsNode |
addGraphicsNodeKeyListener, addGraphicsNodeMouseListener, addPropertyChangeListener, addPropertyChangeListener, contains, dispatch, getBounds, getClip, getComposite, getCursor, getFilter, getGeometryBounds, getGlobalTransform, getGraphicsNodeEventFilter, getGraphicsNodeHitDetector, getListeners, getMask, getMemento, getOutline, getParent, getPrimitiveBounds, getRenderingHints, getRoot, getTransform, hasProgressivePaint, intersects, isVisible, nodeHitAt, paint, primitivePaint, processKeyEvent, processMouseEvent, progressivePaint, putMemento, removeGraphicsNodeKeyListener, removeGraphicsNodeMouseListener, removeMemento, removePropertyChangeListener, setClip, setComposite, setCursor, setFilter, setGraphicsNodeEventFilter, setGraphicsNodeHitDetector, setMask, setRenderingHint, setRenderingHints, setRenderingHints, setTransform, setVisible |
setShape
public void setShape(java.awt.Shape newShape)
- Sets the shape of this shape node.
- Parameters:
newShape
- the new shape of this shape node
getShape
public java.awt.Shape getShape()
- Returns the shape of this shape node.
- Returns:
- the shape of this shape node
setShapePainter
public void setShapePainter(ShapePainter newShapePainter)
- Sets the ShapePainter used by this shape node to render the shape.
- Parameters:
newShapePainter
- the new ShapePainter to use
getShapePainter
public ShapePainter getShapePainter()
- Returns the ShapePainter used by this shape node to render the shape.
- Returns:
- the ShapePainter used to render the shape
Copyright © 2000 Apache Software Foundation. All Rights Reserved.