Contents

CTFontGetLeading(_:)

Returns the scaled font-leading metric of the given font.

Declaration

func CTFontGetLeading(_ font: CTFont) -> CGFloat

Parameters

  • font:

    The font reference.

Return Value

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

See Also

Getting Font Metrics