Class TextInfoChunk

All Implemented Interfaces:
IChunk, IObject
Direct Known Subclasses:
ListElement, ListItem, TableCell, TableCluster, TableRow, TextBlock, TextChunk, TextColumn, TextLine

public abstract class TextInfoChunk extends InfoChunk
  • Field Details

    • fontSize

      protected double fontSize
    • baseLine

      protected double baseLine
    • slantDegree

      protected double slantDegree
  • Constructor Details

    • TextInfoChunk

      public TextInfoChunk()
    • TextInfoChunk

      public TextInfoChunk(BoundingBox bbox)
    • TextInfoChunk

      public TextInfoChunk(BoundingBox bbox, double fontSize, double baseLine)
    • TextInfoChunk

      public TextInfoChunk(BoundingBox bbox, double fontSize, double baseLine, double slantDegree)
  • Method Details

    • setFontSize

      public void setFontSize(double fontSize)
    • getFontSize

      public double getFontSize()
    • setBaseLine

      public void setBaseLine(double baseLine)
    • getBaseLine

      public double getBaseLine()
    • add

      protected void add(TextInfoChunk chunk)
    • getSlantDegree

      public double getSlantDegree()
    • setSlantDegree

      public void setSlantDegree(double slantDegree)
    • getTextStart

      public double getTextStart()
    • isHorizontalText

      public boolean isHorizontalText()
    • isRightLeftHorizontalText

      public boolean isRightLeftHorizontalText()
    • isLeftRightHorizontalText

      public boolean isLeftRightHorizontalText()
    • isVerticalText

      public boolean isVerticalText()
    • isBottomUpVerticalText

      public boolean isBottomUpVerticalText()
    • isUpBottomVerticalText

      public boolean isUpBottomVerticalText()
    • getTextEnd

      public double getTextEnd()
    • getTextCenter

      public double getTextCenter()
    • getValue

      public String getValue()
    • getFirstBaseLine

      public double getFirstBaseLine()
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class InfoChunk
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class InfoChunk