Class CacheBoxShifter

  • public final class CacheBoxShifter
    extends Object
    By keeping the shifting in a separate class, we can optimize it later without having to touch the other code. Remember: Recursive calls can be evil in complex documents..
    Thomas Morgner
    • Method Detail

      • shiftBox

        public static void shiftBox​(RenderNode box,
                                    long amount)
      • shiftBoxUnchecked

        public static void shiftBoxUnchecked​(RenderNode box,
                                             long amount)
      • shiftBoxChilds

        public static void shiftBoxChilds​(RenderBox box,
                                          long amount)
      • extendHeight

        public static void extendHeight​(RenderNode node,
                                        long amount)