Class VerticalAlignmentProcessor


  • public final class VerticalAlignmentProcessor
    extends Object
    There's only one alignment processor for the vertical layouting. The processor is non-iterative, it receives a single primary sequence (which represents a line) and processes that fully.

    As result, this processor generates a list of offsets and heights; the offset of the outermost element is always zero and the height is equal to the height of the whole line.

    Author:
    Thomas Morgner
    • Constructor Detail

      • VerticalAlignmentProcessor

        public VerticalAlignmentProcessor()
    • Method Detail

      • align

        public void align​(BoxAlignContext alignStructure,
                          long y1,
                          long lineHeight)