public class ITextFSFontMetrics extends java.lang.Object implements FSFontMetrics
Constructor and Description |
---|
ITextFSFontMetrics() |
Modifier and Type | Method and Description |
---|---|
float |
getAscent() |
float |
getDescent()
In keeping with the JDK
LineMetrics convention, this number is
positive for values below the baseline. |
float |
getStrikethroughOffset() |
float |
getStrikethroughThickness() |
float |
getUnderlineOffset()
In keeping with the JDK
LineMetrics convention, this number is
positive for values below the baseline. |
float |
getUnderlineThickness() |
void |
setAscent(float ascent) |
void |
setDescent(float descent) |
void |
setStrikethroughOffset(float strikethroughOffset) |
void |
setStrikethroughThickness(float strikethroughThickness) |
void |
setUnderlineOffset(float underlineOffset) |
void |
setUnderlineThickness(float underlineThickness) |
public float getAscent()
getAscent
in interface FSFontMetrics
public void setAscent(float ascent)
public float getDescent()
FSFontMetrics
LineMetrics
convention, this number is
positive for values below the baseline.getDescent
in interface FSFontMetrics
public void setDescent(float descent)
public float getStrikethroughOffset()
getStrikethroughOffset
in interface FSFontMetrics
public void setStrikethroughOffset(float strikethroughOffset)
public float getStrikethroughThickness()
getStrikethroughThickness
in interface FSFontMetrics
public void setStrikethroughThickness(float strikethroughThickness)
public float getUnderlineOffset()
FSFontMetrics
LineMetrics
convention, this number is
positive for values below the baseline.getUnderlineOffset
in interface FSFontMetrics
public void setUnderlineOffset(float underlineOffset)
public float getUnderlineThickness()
getUnderlineThickness
in interface FSFontMetrics
public void setUnderlineThickness(float underlineThickness)