Class GlyphLine.GlyphLinePart

java.lang.Object
com.itextpdf.io.font.otf.GlyphLine.GlyphLinePart
Enclosing class:
GlyphLine

public static class GlyphLine.GlyphLinePart extends Object
  • Constructor Details

    • GlyphLinePart

      public GlyphLinePart (int start, int end)
      Creates a glyph line part object with given start and end values. Actual text is set to null.
      Parameters:
      start - start value of the glyph line part
      end - end value of the glyph line part
    • GlyphLinePart

      public GlyphLinePart (int start, int end, String actualText)
      Creates a glyph line part object with given start, end and actual text values.
      Parameters:
      start - start value of the glyph line part
      end - end value of the glyph line part
      actualText - actual text
  • Method Details

    • getStart

      public int getStart()
      Retrieves the start of the glyph line part.
      Returns:
      start value of glyph line part
    • setStart

      public GlyphLine.GlyphLinePart setStart (int start)
      Sets the start of the glyph line part.
      Parameters:
      start - start of the glyph line part
      Returns:
      Altered glyph line part object
    • getEnd

      public int getEnd()
      Retrieves the end of the glyph line part.
      Returns:
      end value of glyph line part
    • setEnd

      public GlyphLine.GlyphLinePart setEnd (int end)
      Sets the end of the glyph line part.
      Parameters:
      end - end value of glyph line part
      Returns:
      Altered glyph line part object
    • getActualText

      public String getActualText()
      Retrieves the actual text of the glyph line part.
      Returns:
      Actual text of glyph line part
    • setActualText

      public GlyphLine.GlyphLinePart setActualText (String actualText)
      Sets the actual text of the glyph line part.
      Parameters:
      actualText - Actual text of glyph line part
      Returns:
      Altered Glyph line part object
    • isReversed

      public boolean isReversed()
      Retrieves whether the glyph line part is reversed.
      Returns:
      True if it is reversed, false otherwise.
    • setReversed

      public GlyphLine.GlyphLinePart setReversed (boolean reversed)
      Sets whether the glyph line part is reversed.
      Parameters:
      reversed - true if it should be reversed, false otherwise
      Returns:
      Altered glyph line part object