Package com.openhtmltopdf.pdfboxout
Class PdfBoxRawPDFontMetrics
- java.lang.Object
-
- com.openhtmltopdf.pdfboxout.PdfBoxRawPDFontMetrics
-
- All Implemented Interfaces:
FSCacheValue
public class PdfBoxRawPDFontMetrics extends Object implements FSCacheValue
-
-
Field Summary
Fields Modifier and Type Field Description float
_ascent
float
_descent
float
_strikethroughOffset
float
_strikethroughThickness
float
_underlinePosition
float
_underlineThickness
-
Constructor Summary
Constructors Constructor Description PdfBoxRawPDFontMetrics(float ascent, float descent, float strikethroughOffset, float strikethroughThickness, float underlinePosition, float underlineThickness)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static PdfBoxRawPDFontMetrics
fromPdfBox(org.apache.pdfbox.pdmodel.font.PDFont font, org.apache.pdfbox.pdmodel.font.PDFontDescriptor descriptor)
int
weight()
-
-
-
Field Detail
-
_ascent
public final float _ascent
-
_descent
public final float _descent
-
_strikethroughOffset
public final float _strikethroughOffset
-
_strikethroughThickness
public final float _strikethroughThickness
-
_underlinePosition
public final float _underlinePosition
-
_underlineThickness
public final float _underlineThickness
-
-
Method Detail
-
fromPdfBox
public static PdfBoxRawPDFontMetrics fromPdfBox(org.apache.pdfbox.pdmodel.font.PDFont font, org.apache.pdfbox.pdmodel.font.PDFontDescriptor descriptor) throws IOException
- Throws:
IOException
-
weight
public int weight()
- Specified by:
weight
in interfaceFSCacheValue
-
-