Class PlainText.Line

  • Enclosing class:
    PlainText

    static class PlainText.Line
    extends java.lang.Object
    An individual line of text.
    • Field Detail

      • lineWidth

        private float lineWidth
    • Constructor Detail

      • Line

        Line()
    • Method Detail

      • getWidth

        float getWidth()
      • setWidth

        void setWidth​(float width)
      • calculateWidth

        float calculateWidth​(PDFont font,
                             float fontSize)
                      throws java.io.IOException
        Throws:
        java.io.IOException
      • getInterWordSpacing

        float getInterWordSpacing​(float width)