org.apache.batik.gvt
Interface CanvasGraphicsNode
- All Superinterfaces:
- CompositeGraphicsNode, GraphicsNode
- All Known Implementing Classes:
- ConcreteCanvasGraphicsNode
- public interface CanvasGraphicsNode
- extends CompositeGraphicsNode
The top-level graphics node with a background color.
Method Summary |
java.awt.Paint |
getBackgroundPaint()
Returns the background paint of this canvas graphics node. |
java.awt.geom.Dimension2D |
getSize()
Returns the size of this canvas graphics node. |
void |
setBackgroundPaint(java.awt.Paint newBackgroundPaint)
Sets the background paint of this canvas graphics node. |
void |
setSize(java.awt.geom.Dimension2D newSize)
Sets the size of this canvas graphics node. |
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 |
setBackgroundPaint
public void setBackgroundPaint(java.awt.Paint newBackgroundPaint)
- Sets the background paint of this canvas graphics node.
- Parameters:
newBackgroundPaint
- the new background paint
getBackgroundPaint
public java.awt.Paint getBackgroundPaint()
- Returns the background paint of this canvas graphics node.
- Returns:
- the background paint
setSize
public void setSize(java.awt.geom.Dimension2D newSize)
- Sets the size of this canvas graphics node.
- Parameters:
newSize
- the new size of this canvas graphics node
getSize
public java.awt.geom.Dimension2D getSize()
- Returns the size of this canvas graphics node.
- Returns:
- the size of this canvas graphics node
Copyright © 2000 Apache Software Foundation. All Rights Reserved.