Class PdfBoxFSFontMetrics
java.lang.Object
com.openhtmltopdf.pdfboxout.PdfBoxFSFontMetrics
- All Implemented Interfaces:
FSFontMetrics
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfloatfloatIn keeping with the JDKLineMetricsconvention, this number is positive for values below the baseline.floatfloatfloatIn keeping with the JDKLineMetricsconvention, this number is positive for values below the baseline.floatvoidsetAscent(float ascent) voidsetDescent(float descent) voidsetStrikethroughOffset(float strikethroughOffset) voidsetStrikethroughThickness(float strikethroughThickness) voidsetUnderlineOffset(float underlineOffset) voidsetUnderlineThickness(float underlineThickness)
-
Constructor Details
-
PdfBoxFSFontMetrics
public PdfBoxFSFontMetrics()
-
-
Method Details
-
getAscent
public float getAscent()- Specified by:
getAscentin interfaceFSFontMetrics
-
setAscent
public void setAscent(float ascent) -
getDescent
public float getDescent()Description copied from interface:FSFontMetricsIn keeping with the JDKLineMetricsconvention, this number is positive for values below the baseline.- Specified by:
getDescentin interfaceFSFontMetrics
-
setDescent
public void setDescent(float descent) -
getStrikethroughOffset
public float getStrikethroughOffset()- Specified by:
getStrikethroughOffsetin interfaceFSFontMetrics
-
setStrikethroughOffset
public void setStrikethroughOffset(float strikethroughOffset) -
getStrikethroughThickness
public float getStrikethroughThickness()- Specified by:
getStrikethroughThicknessin interfaceFSFontMetrics
-
setStrikethroughThickness
public void setStrikethroughThickness(float strikethroughThickness) -
getUnderlineOffset
public float getUnderlineOffset()Description copied from interface:FSFontMetricsIn keeping with the JDKLineMetricsconvention, this number is positive for values below the baseline.- Specified by:
getUnderlineOffsetin interfaceFSFontMetrics
-
setUnderlineOffset
public void setUnderlineOffset(float underlineOffset) -
getUnderlineThickness
public float getUnderlineThickness()- Specified by:
getUnderlineThicknessin interfaceFSFontMetrics
-
setUnderlineThickness
public void setUnderlineThickness(float underlineThickness)
-