Class LineInfo


  • public class LineInfo
    extends java.lang.Object
    One line Class Desc Complete Class Desc
    Version:
    $Id: LineInfo.java 1808001 2017-09-11 09:51:29Z ssteiner $
    • Method Detail

      • setParaEnd

        public void setParaEnd​(boolean paraEnd)
      • addWord

        public boolean addWord​(WordInfo wi)
      • insertWord

        public boolean insertWord​(WordInfo wi)
      • assignGlyphGroupRanges

        public boolean assignGlyphGroupRanges​(int ggSz,
                                              GlyphGroupInfo[] ggis)
      • setLineHeight

        public boolean setLineHeight​(double lh)
        This method updates the line height and recalculates the available flow ranges for the line.
      • getCurrentY

        public double getCurrentY()
      • gotoY

        public boolean gotoY​(double y)
      • updateRangeInfo

        protected boolean updateRangeInfo()
      • swapGlyphGroupInfo

        protected void swapGlyphGroupInfo()
      • mergeGlyphGroups

        protected void mergeGlyphGroups​(WordInfo wi)
        This function merges the glyph groups from wi into the glyph groups that are already on this line. It does no fit checking, just adds them in the proper place in the newGGIS data member.
      • layout

        public void layout()