Package org.xhtmlrenderer.pdf
Class ITextFSFontMetrics
java.lang.Object
org.xhtmlrenderer.pdf.ITextFSFontMetrics
- All Implemented Interfaces:
FSFontMetrics
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfloat
float
In keeping with the JDKLineMetrics
convention, this number is positive for values below the baseline.float
float
float
In keeping with the JDKLineMetrics
convention, this number is positive for values below the baseline.float
void
setAscent
(float ascent) void
setDescent
(float descent) void
setStrikethroughOffset
(float strikethroughOffset) void
setStrikethroughThickness
(float strikethroughThickness) void
setUnderlineOffset
(float underlineOffset) void
setUnderlineThickness
(float underlineThickness)
-
Constructor Details
-
ITextFSFontMetrics
public ITextFSFontMetrics()
-
-
Method Details
-
getAscent
public float getAscent()- Specified by:
getAscent
in interfaceFSFontMetrics
-
setAscent
public void setAscent(float ascent) -
getDescent
public float getDescent()Description copied from interface:FSFontMetrics
In keeping with the JDKLineMetrics
convention, this number is positive for values below the baseline.- Specified by:
getDescent
in interfaceFSFontMetrics
-
setDescent
public void setDescent(float descent) -
getStrikethroughOffset
public float getStrikethroughOffset()- Specified by:
getStrikethroughOffset
in interfaceFSFontMetrics
-
setStrikethroughOffset
public void setStrikethroughOffset(float strikethroughOffset) -
getStrikethroughThickness
public float getStrikethroughThickness()- Specified by:
getStrikethroughThickness
in interfaceFSFontMetrics
-
setStrikethroughThickness
public void setStrikethroughThickness(float strikethroughThickness) -
getUnderlineOffset
public float getUnderlineOffset()Description copied from interface:FSFontMetrics
In keeping with the JDKLineMetrics
convention, this number is positive for values below the baseline.- Specified by:
getUnderlineOffset
in interfaceFSFontMetrics
-
setUnderlineOffset
public void setUnderlineOffset(float underlineOffset) -
getUnderlineThickness
public float getUnderlineThickness()- Specified by:
getUnderlineThickness
in interfaceFSFontMetrics
-
setUnderlineThickness
public void setUnderlineThickness(float underlineThickness)
-