Package org.openpdf.pdf
Class FontDescription
java.lang.Object
org.openpdf.pdf.FontDescription
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final FontDescription.Decorationsprivate final BaseFontprivate final booleanprivate final IdentValueprivate static final int -
Constructor Summary
ConstructorsConstructorDescriptionFontDescription(BaseFont font) FontDescription(BaseFont font, boolean isFromFontFace) FontDescription(BaseFont font, boolean isFromFontFace, IdentValue style) FontDescription(BaseFont font, boolean isFromFontFace, IdentValue style, FontDescription.Decorations decorations) FontDescription(BaseFont font, IdentValue style, int weight) -
Method Summary
Modifier and TypeMethodDescriptionprivate static FontDescription.DecorationsdefaultDecorations(BaseFont font, int weight) getFont()getStyle()floatThis refers to the top of the underline strokefloatintfloatfloatbooleantoString()
-
Field Details
-
DEFAULT_FONT_WEIGHT
private static final int DEFAULT_FONT_WEIGHT- See Also:
-
_style
-
_font
-
_decorations
-
_isFromFontFace
private final boolean _isFromFontFace
-
-
Constructor Details
-
FontDescription
-
FontDescription
-
FontDescription
-
FontDescription
-
FontDescription
public FontDescription(BaseFont font, boolean isFromFontFace, IdentValue style, FontDescription.Decorations decorations)
-
-
Method Details
-
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
-
isFromFontFace
public boolean isFromFontFace() -
toString
-