Class PDFInlineItem

  • Direct Known Subclasses:
    PDFInlineSpaces, PDFInlineTexts

    public class PDFInlineItem
    extends java.lang.Object
    Internal Use Only.

    Represents a group in a line in PDF.

    • Method Detail

      • getRuns

        public java.util.List<PDFRun> getRuns()
        Returns the PDFRuns.
        Returns:
        the PDFRuns
      • addRuns

        public void addRuns​(java.util.Collection<PDFRun> runs)
        Adds multiple PDFRuns.
        Parameters:
        runs - the PDFRuns
      • removeRun

        public void removeRun​(int i)
        Removes a PDFRun.
        Parameters:
        i - the index of the PDFRun to be removed
      • getWidth

        public float getWidth()
        Returns the total width of this PDFInlineItem.
        Returns:
        the total width