public class LineMetricsAdapter extends Object implements FSFontMetrics
| Constructor and Description |
|---|
LineMetricsAdapter(LineMetrics lineMetrics) |
| 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() |
public LineMetricsAdapter(LineMetrics lineMetrics)
public float getAscent()
getAscent in interface FSFontMetricspublic float getDescent()
FSFontMetricsLineMetrics convention, this number is
positive for values below the baseline.getDescent in interface FSFontMetricspublic float getStrikethroughOffset()
getStrikethroughOffset in interface FSFontMetricspublic float getStrikethroughThickness()
getStrikethroughThickness in interface FSFontMetricspublic float getUnderlineOffset()
FSFontMetricsLineMetrics convention, this number is
positive for values below the baseline.getUnderlineOffset in interface FSFontMetricspublic float getUnderlineThickness()
getUnderlineThickness in interface FSFontMetricsCopyright © 2015. All rights reserved.