Instance Method

lowercaseSmallCaps()

Adjusts the font to enable lowercase small capitals.

Declaration

func lowercaseSmallCaps() -> Font

Discussion

This function turns lowercase characters into small capitals for the font. It is generally used for display lines set in large and small caps, such as titles. It may include forms related to small capitals, such as old-style figures.

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 smallCaps() -> Font

Adjusts the font to enable all 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.