kerning(_:)
Sets the spacing, or kerning, between characters for the text in this view.
Declaration
nonisolated func kerning(_ kerning: CGFloat) -> some View
Parameters
- kerning:
The spacing to use between individual characters in text. Value of
0sets the kerning to the system default value.
Return Value
A view where text has the specified amount of kerning.