defaultLineHeight(for:)
Returns the default line height for a line of text that uses a specified font.
Declaration
func defaultLineHeight(for theFont: NSFont) -> CGFloatParameters
- theFont:
The font for which to determine the default line height.
Return Value
The default line height for a line of text drawn using theFont.
Discussion
The value returned may vary according to the layout manager’s typesetter behavior.