org.apache.batik.gvt
public class UpdateTracker extends GraphicsNodeChangeAdapter
Field Summary | |
---|---|
protected static Rectangle2D | NULL_RECT |
Constructor Summary | |
---|---|
UpdateTracker() |
Method Summary | |
---|---|
void | changeStarted(GraphicsNodeChangeEvent gnce)
Receives notification of a change to a GraphicsNode. |
void | clear()
Clears the tracker. |
List | getDirtyAreas()
Returns the list of dirty areas on GVT. |
Rectangle2D | getNodeDirtyRegion(GraphicsNode gn, AffineTransform at)
This returns the dirty region for gn in the coordinate system
given by at . |
Rectangle2D | getNodeDirtyRegion(GraphicsNode gn) |
boolean | hasChanged()
Tells whether the GVT tree has changed. |
Parameters: gnce The event object describing the GraphicsNode change.
at
.Parameters: gn Node tree to return dirty region for. at Affine transform to coordinate space to accumulate dirty regions in.