Package org.xhtmlrenderer.pdf
Class ITextFSFontMetrics
- java.lang.Object
-
- org.xhtmlrenderer.pdf.ITextFSFontMetrics
-
- All Implemented Interfaces:
FSFontMetrics
public class ITextFSFontMetrics extends java.lang.Object implements FSFontMetrics
-
-
Constructor Summary
Constructors Constructor Description ITextFSFontMetrics()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description floatgetAscent()floatgetDescent()In keeping with the JDKLineMetricsconvention, this number is positive for values below the baseline.floatgetStrikethroughOffset()floatgetStrikethroughThickness()floatgetUnderlineOffset()In keeping with the JDKLineMetricsconvention, this number is positive for values below the baseline.floatgetUnderlineThickness()voidsetAscent(float ascent)voidsetDescent(float descent)voidsetStrikethroughOffset(float strikethroughOffset)voidsetStrikethroughThickness(float strikethroughThickness)voidsetUnderlineOffset(float underlineOffset)voidsetUnderlineThickness(float underlineThickness)
-
-
-
Method Detail
-
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)
-
-