java.lang.Object
org.xhtmlrenderer.pdf.FontDescription
-
Constructor Summary
ConstructorsConstructorDescriptionFontDescription(com.lowagie.text.pdf.BaseFont font) FontDescription(com.lowagie.text.pdf.BaseFont font, org.xhtmlrenderer.css.constants.IdentValue style, int weight) -
Method Summary
Modifier and TypeMethodDescriptioncom.lowagie.text.pdf.BaseFontgetFont()org.xhtmlrenderer.css.constants.IdentValuegetStyle()floatfloatintfloatfloatbooleanvoidsetFont(com.lowagie.text.pdf.BaseFont font) voidsetFromFontFace(boolean isFromFontFace) voidsetStyle(org.xhtmlrenderer.css.constants.IdentValue style) voidsetUnderlinePosition(float underlinePosition) This refers to the top of the underline strokevoidsetUnderlineThickness(float underlineThickness) voidsetWeight(int weight) voidsetYStrikeoutPosition(float strikeoutPosition) voidsetYStrikeoutSize(float strikeoutSize) toString()
-
Constructor Details
-
FontDescription
public FontDescription() -
FontDescription
public FontDescription(com.lowagie.text.pdf.BaseFont font) -
FontDescription
public FontDescription(com.lowagie.text.pdf.BaseFont font, org.xhtmlrenderer.css.constants.IdentValue style, int weight)
-
-
Method Details
-
getFont
public com.lowagie.text.pdf.BaseFont getFont() -
setFont
public void setFont(com.lowagie.text.pdf.BaseFont font) -
getWeight
public int getWeight() -
setWeight
public void setWeight(int weight) -
getStyle
public org.xhtmlrenderer.css.constants.IdentValue getStyle() -
setStyle
public void setStyle(org.xhtmlrenderer.css.constants.IdentValue style) -
getUnderlinePosition
public float getUnderlinePosition() -
setUnderlinePosition
public void setUnderlinePosition(float underlinePosition) This refers to the top of the underline stroke -
getUnderlineThickness
public float getUnderlineThickness() -
setUnderlineThickness
public void setUnderlineThickness(float underlineThickness) -
getYStrikeoutPosition
public float getYStrikeoutPosition() -
setYStrikeoutPosition
public void setYStrikeoutPosition(float strikeoutPosition) -
getYStrikeoutSize
public float getYStrikeoutSize() -
setYStrikeoutSize
public void setYStrikeoutSize(float strikeoutSize) -
isFromFontFace
public boolean isFromFontFace() -
setFromFontFace
public void setFromFontFace(boolean isFromFontFace) -
toString
-