Class BoxShifter

  • public final class BoxShifter
    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)