public class ITextFSFontMetrics extends Object implements FSFontMetrics
| 构造器和说明 |
|---|
ITextFSFontMetrics() |
| 限定符和类型 | 方法和说明 |
|---|---|
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 在接口中 FSFontMetricspublic void setAscent(float ascent)
public float getDescent()
FSFontMetricsLineMetrics convention, this number is
positive for values below the baseline.getDescent 在接口中 FSFontMetricspublic void setDescent(float descent)
public float getStrikethroughOffset()
getStrikethroughOffset 在接口中 FSFontMetricspublic void setStrikethroughOffset(float strikethroughOffset)
public float getStrikethroughThickness()
getStrikethroughThickness 在接口中 FSFontMetricspublic void setStrikethroughThickness(float strikethroughThickness)
public float getUnderlineOffset()
FSFontMetricsLineMetrics convention, this number is
positive for values below the baseline.getUnderlineOffset 在接口中 FSFontMetricspublic void setUnderlineOffset(float underlineOffset)
public float getUnderlineThickness()
getUnderlineThickness 在接口中 FSFontMetricspublic void setUnderlineThickness(float underlineThickness)
Copyright © 2019. All Rights Reserved.