Contents

ascent

Returns the ascent of a font.

Declaration

var ascent: Int32 { get }

Discussion

The ascent is the maximum distance above the baseline of glyphs in a font. The value is specified in glyph space units.

See Also

Examining Font Metrics