public interface Renderer
Modifier and Type | Method and Description |
---|---|
void |
dispose()
Cause the renderer to ask to be removed from external reference
lists, de-register as a listener to events, etc.
|
java.awt.geom.AffineTransform |
getTransform()
Returns a copy of the transform from the current user space (as
defined by the top node of the GVT tree) to the device space (1
unit = 1/72nd of an inch / 1 pixel, roughly speaking
|
GraphicsNode |
getTree()
Returns the GVT tree associated with this renderer
|
boolean |
isDoubleBuffered()
Returns true if the Renderer is currently doubleBuffering is
rendering requests.
|
void |
repaint(RectListManager areas)
Repaints the associated GVT tree at least in areas under the
list of
areas . |
void |
repaint(java.awt.Shape area)
Repaints the associated GVT tree at least under
area . |
void |
setDoubleBuffered(boolean isDoubleBuffered)
Turns on/off double buffering in renderer.
|
void |
setTransform(java.awt.geom.AffineTransform usr2dev)
Sets the transform from the current user space (as defined by
the top node of the GVT tree, to the associated device space.
|
void |
setTree(GraphicsNode treeRoot)
This associates the given GVT Tree with this renderer.
|
void setTree(GraphicsNode treeRoot)
GraphicsNode getTree()
void repaint(java.awt.Shape area)
area
.area
- the region to be repainted, in the current user
space coordinate system.void repaint(RectListManager areas)
areas
.areas
- a List of regions to be repainted, in the current
user space coordinate system.void setTransform(java.awt.geom.AffineTransform usr2dev)
java.awt.geom.AffineTransform getTransform()
boolean isDoubleBuffered()
void setDoubleBuffered(boolean isDoubleBuffered)
void dispose()
Copyright © 2022 Apache Software Foundation. All Rights Reserved.