Class FontDescription

java.lang.Object
org.xhtmlrenderer.pdf.FontDescription

public class FontDescription extends Object
  • Constructor Details

    • FontDescription

      public FontDescription(com.lowagie.text.pdf.BaseFont font)
    • FontDescription

      public FontDescription(com.lowagie.text.pdf.BaseFont font, boolean isFromFontFace)
    • FontDescription

      public FontDescription(com.lowagie.text.pdf.BaseFont font, org.xhtmlrenderer.css.constants.IdentValue style, int weight)
    • FontDescription

      public FontDescription(com.lowagie.text.pdf.BaseFont font, boolean isFromFontFace, org.xhtmlrenderer.css.constants.IdentValue style)
    • FontDescription

      public FontDescription(com.lowagie.text.pdf.BaseFont font, boolean isFromFontFace, org.xhtmlrenderer.css.constants.IdentValue style, FontDescription.Decorations decorations)
  • Method Details

    • getFont

      public com.lowagie.text.pdf.BaseFont getFont()
    • getWeight

      public int getWeight()
    • getStyle

      public org.xhtmlrenderer.css.constants.IdentValue getStyle()
    • getUnderlinePosition

      public float getUnderlinePosition()
      This refers to the top of the underline stroke
    • getUnderlineThickness

      public float getUnderlineThickness()
    • getYStrikeoutPosition

      public float getYStrikeoutPosition()
    • getYStrikeoutSize

      public float getYStrikeoutSize()
    • isFromFontFace

      public boolean isFromFontFace()
    • toString

      public String toString()
      Overrides:
      toString in class Object