public class SWTFontMetricsAdapter extends Object implements FSFontMetrics
| Constructor and Description |
|---|
SWTFontMetricsAdapter(SWTFontContext context,
SWTFSFont font) |
| Modifier and Type | Method and Description |
|---|---|
float |
getAscent() |
float |
getDescent() |
float |
getStrikethroughOffset() |
float |
getStrikethroughThickness() |
float |
getUnderlineOffset() |
float |
getUnderlineThickness() |
public SWTFontMetricsAdapter(SWTFontContext context, SWTFSFont font)
public float getAscent()
getAscent in interface FSFontMetricspublic float getDescent()
getDescent in interface FSFontMetricspublic float getStrikethroughOffset()
getStrikethroughOffset in interface FSFontMetricspublic float getStrikethroughThickness()
getStrikethroughThickness in interface FSFontMetricspublic float getUnderlineOffset()
getUnderlineOffset in interface FSFontMetricspublic float getUnderlineThickness()
getUnderlineThickness in interface FSFontMetricsCopyright © 2019. All rights reserved.