Class Base14Font

    • Field Detail

      • LINE_THICKNESS

        private static final int LINE_THICKNESS
        Thickness for underline and strikeout.
        See Also:
        Constant Field Values
    • Constructor Detail

      • Base14Font

        public Base14Font()
    • Method Detail

      • getStrikeoutPosition

        public int getStrikeoutPosition​(int size)
        Description copied from interface: FontMetrics
        Returns the distance from the baseline to the center of the strikeout line (negative value indicates below baseline).
        Parameters:
        size - font size
        Returns:
        the position in 1/1000ths of the font size
      • getStrikeoutThickness

        public int getStrikeoutThickness​(int size)
        Description copied from interface: FontMetrics
        Returns the thickness of the strikeout line.
        Parameters:
        size - font size
        Returns:
        the thickness in 1/1000ths of the font size