Package org.xhtmlrenderer.pdf
Class FontDescription
java.lang.Object
org.xhtmlrenderer.pdf.FontDescription
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final FontDescription.Decorations
private final com.lowagie.text.pdf.BaseFont
private final boolean
private final IdentValue
private static final int
-
Constructor Summary
ConstructorsConstructorDescriptionFontDescription
(com.lowagie.text.pdf.BaseFont font) FontDescription
(com.lowagie.text.pdf.BaseFont font, boolean isFromFontFace) FontDescription
(com.lowagie.text.pdf.BaseFont font, boolean isFromFontFace, IdentValue style) FontDescription
(com.lowagie.text.pdf.BaseFont font, boolean isFromFontFace, IdentValue style, FontDescription.Decorations decorations) FontDescription
(com.lowagie.text.pdf.BaseFont font, IdentValue style, int weight) -
Method Summary
Modifier and TypeMethodDescriptionprivate static FontDescription.Decorations
defaultDecorations
(com.lowagie.text.pdf.BaseFont font, int weight) com.lowagie.text.pdf.BaseFont
getFont()
getStyle()
float
This refers to the top of the underline strokefloat
int
float
float
boolean
toString()
-
Field Details
-
DEFAULT_FONT_WEIGHT
private static final int DEFAULT_FONT_WEIGHT- See Also:
-
_style
-
_font
private final com.lowagie.text.pdf.BaseFont _font -
_decorations
-
_isFromFontFace
private final boolean _isFromFontFace
-
-
Constructor Details
-
FontDescription
public FontDescription(com.lowagie.text.pdf.BaseFont font) -
FontDescription
public FontDescription(com.lowagie.text.pdf.BaseFont font, boolean isFromFontFace) -
FontDescription
-
FontDescription
public FontDescription(com.lowagie.text.pdf.BaseFont font, boolean isFromFontFace, IdentValue style) -
FontDescription
public FontDescription(com.lowagie.text.pdf.BaseFont font, boolean isFromFontFace, IdentValue style, FontDescription.Decorations decorations)
-
-
Method Details
-
getFont
public com.lowagie.text.pdf.BaseFont getFont() -
getWeight
public int getWeight() -
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() -
defaultDecorations
private static FontDescription.Decorations defaultDecorations(com.lowagie.text.pdf.BaseFont font, int weight) -
isFromFontFace
public boolean isFromFontFace() -
toString
-