Class UpdateTracker

    • Field Detail

      • NULL_RECT

        protected static java.awt.geom.Rectangle2D NULL_RECT
    • Constructor Detail

      • UpdateTracker

        public UpdateTracker()
    • Method Detail

      • hasChanged

        public boolean hasChanged()
        Tells whether the GVT tree has changed.
      • getDirtyAreas

        public java.util.List getDirtyAreas()
        Returns the list of dirty areas on GVT.
      • getNodeDirtyRegion

        public java.awt.geom.Rectangle2D getNodeDirtyRegion​(GraphicsNode gn,
                                                            java.awt.geom.AffineTransform at)
        This returns the dirty region for gn in the coordinate system given by at.
        Parameters:
        gn - Node tree to return dirty region for.
        at - Affine transform to coordinate space to accumulate dirty regions in.
      • getNodeDirtyRegion

        public java.awt.geom.Rectangle2D getNodeDirtyRegion​(GraphicsNode gn)
      • clear

        public void clear()
        Clears the tracker.