Contents

fontDesign(_:)

Sets the font design of the text.

Declaration

nonisolated func fontDesign(_ design: Font.Design?) -> Text

Parameters

  • design:

    One of the available font designs.

Return Value

Text that uses the font design you specify.

See Also

Choosing a font