Class PdfBoxFSFontMetrics

    • Field Detail

      • _ascent

        private float _ascent
      • _descent

        private float _descent
      • _strikethroughOffset

        private float _strikethroughOffset
      • _strikethroughThickness

        private float _strikethroughThickness
      • _underlineOffset

        private float _underlineOffset
      • _underlineThickness

        private float _underlineThickness
    • Constructor Detail

      • PdfBoxFSFontMetrics

        public PdfBoxFSFontMetrics()
    • Method Detail

      • setAscent

        public void setAscent​(float ascent)
      • getDescent

        public float getDescent()
        Description copied from interface: FSFontMetrics
        In keeping with the JDK LineMetrics convention, this number is positive for values below the baseline.
        Specified by:
        getDescent in interface FSFontMetrics
      • setDescent

        public void setDescent​(float descent)
      • setStrikethroughOffset

        public void setStrikethroughOffset​(float strikethroughOffset)
      • setStrikethroughThickness

        public void setStrikethroughThickness​(float strikethroughThickness)
      • getUnderlineOffset

        public float getUnderlineOffset()
        Description copied from interface: FSFontMetrics
        In keeping with the JDK LineMetrics convention, this number is positive for values below the baseline.
        Specified by:
        getUnderlineOffset in interface FSFontMetrics
      • setUnderlineOffset

        public void setUnderlineOffset​(float underlineOffset)
      • setUnderlineThickness

        public void setUnderlineThickness​(float underlineThickness)