Class PdfChunk

java.lang.Object
com.aowagie.text.pdf.PdfChunk

public class PdfChunk extends Object
A PdfChunk is the PDF translation of a Chunk.

A PdfChunk is a PdfString in a certain PdfFont and Color.

See Also:
  • Field Details

    • font

      protected com.aowagie.text.pdf.PdfFont font
      The font for this PdfChunk.
    • changeLeading

      protected boolean changeLeading
      Indicates if the height and offset of the Image has to be taken into account
  • Method Details

    • isNewlineSplit

      public boolean isNewlineSplit()
      Checks if the PdfChunk split was caused by a newline.
      Returns:
      true if the PdfChunk split was caused by a newline.
    • getTextRise

      public float getTextRise()
      Gets the text displacement relative to the baseline.
      Returns:
      a displacement in points
    • trimFirstSpace

      public float trimFirstSpace()
    • toString

      public String toString()
      Overrides:
      toString in class Object
      See Also: