Returns the descent of a font.
SDKs
- iOS 2.0+
- macOS 10.5+
- Mac Catalyst 13.0+
- tvOS 9.0+
- watchOS 2.0+
Framework
- Core Graphics
Declaration
int CGFontGetDescent(CGFont Ref font);
Parameters
font
A font object.
Return Value
The descent of the font .
Discussion
The descent is the maximum distance below the baseline of glyphs in a font. The value is specified in glyph space units.