Instance Method

smallCaps()

Adjusts the font to enable all small capitals.

Declaration

func smallCaps() -> Font

See Also

Styling a Font

func bold() -> Font

Adds bold styling to the font.

func italic() -> Font

Adds italics to the font.

func monospacedDigit() -> Font

Adjusts the font to use monospace digits.

func lowercaseSmallCaps() -> Font

Adjusts the font to enable lowercase small capitals.

func uppercaseSmallCaps() -> Font

Adjusts the font to enable uppercase small capitals.

func weight(Font.Weight) -> Font

Sets the weight of the font.

struct Font.Weight

A weight to use for fonts.