Contents

multiple(factor:)

Constant line height based on a multiple of the point size.

Declaration

static func multiple(factor: CGFloat) -> AttributedString.LineHeight

Discussion

Definines the line height based on the largest point size multiplied by factor, regardless of the effective ascent and descent of the fonts in use.