FontStyleSlant

public enum FontStyleSlant : UInt32

Font slants for use with Typeface.

  • The upright/normal font slant.

    Declaration

    Swift

    case upright = 0
  • The italic font slant, in which the slanted characters appear as they were designed.

    Declaration

    Swift

    case italic = 1
  • The characters in an oblique font are artificially slanted. The slant is achieved by performing a shear transformation on the characters from a normal font. When a true italic font is not available on a computer or printer, an oblique style can generated from the normal font and used to simulate an italic font.

    Declaration

    Swift

    case oblique = 2