fontDesign(_:)
Sets the font design of the text.
Declaration
nonisolated func fontDesign(_ design: Font.Design?) -> TextParameters
- design:
One of the available font designs.
Return Value
Text that uses the font design you specify.
Sets the font design of the text.
nonisolated func fontDesign(_ design: Font.Design?) -> TextOne of the available font designs.
Text that uses the font design you specify.