Package org.xhtmlrenderer.pdf
Class ITextFSFontMetrics
java.lang.Object
org.xhtmlrenderer.pdf.ITextFSFontMetrics
- All Implemented Interfaces:
FSFontMetrics
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final float
private final float
private final float
private final float
private final float
private final float
-
Constructor Summary
ConstructorsConstructorDescriptionITextFSFontMetrics
(float ascent, float descent, float strikethroughOffset, float strikethroughThickness, float underlineOffset, float underlineThickness) -
Method Summary
Modifier and TypeMethodDescriptionfloat
float
In keeping with the JDKLineMetrics
convention, this number is positive for values below the baseline.float
float
float
In keeping with the JDKLineMetrics
convention, this number is positive for values below the baseline.float
-
Field Details
-
_ascent
private final float _ascent -
_descent
private final float _descent -
_strikethroughOffset
private final float _strikethroughOffset -
_strikethroughThickness
private final float _strikethroughThickness -
_underlineOffset
private final float _underlineOffset -
_underlineThickness
private final float _underlineThickness
-
-
Constructor Details
-
ITextFSFontMetrics
public ITextFSFontMetrics(float ascent, float descent, float strikethroughOffset, float strikethroughThickness, float underlineOffset, float underlineThickness)
-
-
Method Details
-
getAscent
public float getAscent()- Specified by:
getAscent
in interfaceFSFontMetrics
-
getDescent
public float getDescent()Description copied from interface:FSFontMetrics
In keeping with the JDKLineMetrics
convention, this number is positive for values below the baseline.- Specified by:
getDescent
in interfaceFSFontMetrics
-
getStrikethroughOffset
public float getStrikethroughOffset()- Specified by:
getStrikethroughOffset
in interfaceFSFontMetrics
-
getStrikethroughThickness
public float getStrikethroughThickness()- Specified by:
getStrikethroughThickness
in interfaceFSFontMetrics
-
getUnderlineOffset
public float getUnderlineOffset()Description copied from interface:FSFontMetrics
In keeping with the JDKLineMetrics
convention, this number is positive for values below the baseline.- Specified by:
getUnderlineOffset
in interfaceFSFontMetrics
-
getUnderlineThickness
public float getUnderlineThickness()- Specified by:
getUnderlineThickness
in interfaceFSFontMetrics
-