org.apache.batik.gvt
public class CanvasGraphicsNode extends CompositeGraphicsNode
| Field Summary | |
|---|---|
| protected Paint | backgroundPaint
The background of this canvas graphics node. |
| protected AffineTransform | positionTransform
This is the position transform for this graphics node.
|
| protected AffineTransform | viewingTransform
This is the viewing transform for this graphics node.
|
| Constructor Summary | |
|---|---|
| CanvasGraphicsNode()
Constructs a new empty CanvasGraphicsNode. | |
| Method Summary | |
|---|---|
| Paint | getBackgroundPaint()
Returns the background paint of this canvas graphics node. |
| AffineTransform | getPositionTransform() |
| AffineTransform | getViewingTransform() |
| void | primitivePaint(Graphics2D g2d)
Paints this node without applying Filter, Mask, Composite, and clip.
|
| void | setBackgroundPaint(Paint newBackgroundPaint)
Sets the background paint of this canvas graphics node.
|
| void | setPositionTransform(AffineTransform at) |
| void | setViewingTransform(AffineTransform at) |
Parameters: g2d the Graphics2D to use
Parameters: newBackgroundPaint the new background paint