fontWidth(_:)
Sets the font width of the text.
Declaration
nonisolated func fontWidth(_ width: Font.Width?) -> TextParameters
- width:
One of the available font widths.
Return Value
Text that uses the font width you specify, if available.
Sets the font width of the text.
nonisolated func fontWidth(_ width: Font.Width?) -> TextOne of the available font widths.
Text that uses the font width you specify, if available.