FontMetrics.getAscent

Returns the ascent of the font described by the receiver. A font's <em>ascent</em> is the distance from the baseline to the top of actual characters, not including any of the leading area, measured in pixels.

@return the ascent of the font

class FontMetrics
int
getAscent
(
)

Meta