Contents

CTFontGetUnderlinePosition(_:)

Returns the scaled underline position of the given font.

Declaration

func CTFontGetUnderlinePosition(_ font: CTFont) -> CGFloat

Parameters

  • font:

    The font reference.

Return Value

The font underline-position metric scaled according to the point size and matrix of the font reference.

See Also

Getting Font Metrics