public class LineMetricsAdapter extends java.lang.Object implements FSFontMetrics
Constructor and Description |
---|
LineMetricsAdapter(java.awt.font.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(java.awt.font.LineMetrics lineMetrics)
public float getAscent()
getAscent
in interface FSFontMetrics
public float getDescent()
FSFontMetrics
LineMetrics
convention, this number is
positive for values below the baseline.getDescent
in interface FSFontMetrics
public float getStrikethroughOffset()
getStrikethroughOffset
in interface FSFontMetrics
public float getStrikethroughThickness()
getStrikethroughThickness
in interface FSFontMetrics
public float getUnderlineOffset()
FSFontMetrics
LineMetrics
convention, this number is
positive for values below the baseline.getUnderlineOffset
in interface FSFontMetrics
public float getUnderlineThickness()
getUnderlineThickness
in interface FSFontMetrics