Instance Method


No overview available.


func foregroundColor(_ color: Color?) -> Text

See Also

Styling the View’s Text

func bold() -> Text

Applies a bold font weight to the text.

func italic() -> Text

Applies italics to the text.

func underline(Bool, color: Color?) -> Text

Applies an underline to the text.

func strikethrough(Bool, color: Color?) -> Text

Applies a strikethrough to the text.

func baselineOffset(CGFloat) -> Text

Sets the baseline offset for the text.

func tracking(CGFloat) -> Text

Sets the tracking for the text.

func kerning(CGFloat) -> Text

Sets the spacing, or kerning, between two characters.