|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.batik.gvt.AbstractGraphicsNode
org.apache.batik.gvt.CompositeGraphicsNode
org.apache.batik.gvt.CanvasGraphicsNode
public class CanvasGraphicsNode
The graphics node container with a background color.
Field Summary | |
---|---|
protected java.awt.Paint |
backgroundPaint
The background of this canvas graphics node. |
protected java.awt.geom.AffineTransform |
positionTransform
This is the position transform for this graphics node. |
protected java.awt.geom.AffineTransform |
viewingTransform
This is the viewing transform for this graphics node. |
Fields inherited from class org.apache.batik.gvt.CompositeGraphicsNode |
---|
backgroundEnableRgn, children, count, modCount, NULL_RECT, VIEWPORT |
Fields inherited from class org.apache.batik.gvt.AbstractGraphicsNode |
---|
changeCompletedEvent, changeStartedEvent, clip, composite, enableBackgroundGraphicsNodeRable, filter, graphicsNodeRable, hints, inverseTransform, isVisible, listeners, mask, parent, pointerEventType, root, transform, weakRef |
Fields inherited from interface org.apache.batik.gvt.GraphicsNode |
---|
ALL, FILL, IDENTITY, NONE, PAINTED, STROKE, VISIBLE, VISIBLE_FILL, VISIBLE_PAINTED, VISIBLE_STROKE |
Constructor Summary | |
---|---|
CanvasGraphicsNode()
Constructs a new empty CanvasGraphicsNode. |
Method Summary | |
---|---|
java.awt.Paint |
getBackgroundPaint()
Returns the background paint of this canvas graphics node. |
java.awt.geom.AffineTransform |
getPositionTransform()
|
java.awt.geom.AffineTransform |
getViewingTransform()
|
void |
primitivePaint(java.awt.Graphics2D g2d)
Paints this node without applying Filter, Mask, Composite, and clip. |
void |
setBackgroundPaint(java.awt.Paint newBackgroundPaint)
Sets the background paint of this canvas graphics node. |
void |
setPositionTransform(java.awt.geom.AffineTransform at)
|
void |
setViewingTransform(java.awt.geom.AffineTransform at)
|
Methods inherited from class org.apache.batik.gvt.CompositeGraphicsNode |
---|
add, add, addAll, addAll, clear, contains, contains, containsAll, ensureCapacity, get, getBackgroundEnable, getChildren, getGeometryBounds, getOutline, getPrimitiveBounds, getSensitiveBounds, getTransformedBBox, getTransformedGeometryBounds, getTransformedPrimitiveBounds, getTransformedSensitiveBounds, indexOf, invalidateGeometryCache, isEmpty, iterator, lastIndexOf, listIterator, listIterator, nodeHitAt, remove, remove, removeAll, retainAll, set, setBackgroundEnable, setRoot, setVisible, size, subList, toArray, toArray |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface java.util.List |
---|
equals, hashCode |
Field Detail |
---|
protected java.awt.geom.AffineTransform positionTransform
protected java.awt.geom.AffineTransform viewingTransform
protected java.awt.Paint backgroundPaint
Constructor Detail |
---|
public CanvasGraphicsNode()
Method Detail |
---|
public void setBackgroundPaint(java.awt.Paint newBackgroundPaint)
newBackgroundPaint
- the new background paintpublic java.awt.Paint getBackgroundPaint()
public void setPositionTransform(java.awt.geom.AffineTransform at)
public java.awt.geom.AffineTransform getPositionTransform()
public void setViewingTransform(java.awt.geom.AffineTransform at)
public java.awt.geom.AffineTransform getViewingTransform()
public void primitivePaint(java.awt.Graphics2D g2d)
primitivePaint
in interface GraphicsNode
primitivePaint
in class CompositeGraphicsNode
g2d
- the Graphics2D to use
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |