Top Fields Constructors Methods
com.openhtmltopdf.pdfboxout

public Class PdfBoxRawPDFontMetrics

extends Object
implements FSCacheValue
Class Inheritance
All Implemented Interfaces
com.openhtmltopdf.extend.FSCacheValue
Imports
java.io.IOException, org.apache.pdfbox.pdmodel.font.PDFont, .PDFontDescriptor, com.openhtmltopdf.extend.FSCacheValue

Field Summary

Modifier and TypeField and Description
public final float
public final float
public final float
public final float
public final float
public final float

Constructor Summary

AccessConstructor and Description
public
PdfBoxRawPDFontMetrics(float ascent, float descent, float strikethroughOffset, float strikethroughThickness, float underlinePosition, float underlineThickness)

Method Summary

Modifier and TypeMethod and Description
public static PdfBoxRawPDFontMetrics
public int
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

_ascentback to summary
public final float _ascent
_descentback to summary
public final float _descent
_strikethroughOffsetback to summary
public final float _strikethroughOffset
_strikethroughThicknessback to summary
public final float _strikethroughThickness
_underlinePositionback to summary
public final float _underlinePosition
_underlineThicknessback to summary
public final float _underlineThickness

Constructor Detail

PdfBoxRawPDFontMetricsback to summary
public PdfBoxRawPDFontMetrics(float ascent, float descent, float strikethroughOffset, float strikethroughThickness, float underlinePosition, float underlineThickness)

Method Detail

fromPdfBoxback to summary
public static PdfBoxRawPDFontMetrics fromPdfBox(PDFont font, PDFontDescriptor descriptor) throws IOException
weightback to summary
public int weight()

Implements com.openhtmltopdf.extend.FSCacheValue.weight.

Returns:int

Doc from com.openhtmltopdf.extend.FSCacheValue.weight.

the (very) approximate weight of a cache value in bytes if known or -1 otherwise.

Annotations
@Override