public class LineMetricsAdapter extends Object implements FSFontMetrics
| 构造器和说明 |
|---|
LineMetricsAdapter(LineMetrics lineMetrics) |
| 限定符和类型 | 方法和说明 |
|---|---|
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() |
public LineMetricsAdapter(LineMetrics lineMetrics)
public float getAscent()
getAscent 在接口中 FSFontMetricspublic float getDescent()
FSFontMetricsLineMetrics convention, this number is
positive for values below the baseline.getDescent 在接口中 FSFontMetricspublic float getStrikethroughOffset()
getStrikethroughOffset 在接口中 FSFontMetricspublic float getStrikethroughThickness()
getStrikethroughThickness 在接口中 FSFontMetricspublic float getUnderlineOffset()
FSFontMetricsLineMetrics convention, this number is
positive for values below the baseline.getUnderlineOffset 在接口中 FSFontMetricspublic float getUnderlineThickness()
getUnderlineThickness 在接口中 FSFontMetricsCopyright © 2019. All Rights Reserved.