public class PdfBoxRawPDFontMetrics extends Object implements FSCacheValue
| Modifier and Type | Field and Description |
|---|---|
float |
_ascent |
float |
_descent |
float |
_strikethroughOffset |
float |
_strikethroughThickness |
float |
_underlinePosition |
float |
_underlineThickness |
| Constructor and Description |
|---|
PdfBoxRawPDFontMetrics(float ascent,
float descent,
float strikethroughOffset,
float strikethroughThickness,
float underlinePosition,
float underlineThickness) |
| Modifier and Type | Method and Description |
|---|---|
static PdfBoxRawPDFontMetrics |
fromPdfBox(org.apache.pdfbox.pdmodel.font.PDFont font,
org.apache.pdfbox.pdmodel.font.PDFontDescriptor descriptor) |
int |
weight() |
public final float _ascent
public final float _descent
public final float _strikethroughOffset
public final float _strikethroughThickness
public final float _underlinePosition
public final float _underlineThickness
public PdfBoxRawPDFontMetrics(float ascent,
float descent,
float strikethroughOffset,
float strikethroughThickness,
float underlinePosition,
float underlineThickness)
public static PdfBoxRawPDFontMetrics fromPdfBox(org.apache.pdfbox.pdmodel.font.PDFont font, org.apache.pdfbox.pdmodel.font.PDFontDescriptor descriptor) throws IOException
IOExceptionpublic int weight()
weight in interface FSCacheValueCopyright © 2004–2025. All rights reserved.