Slope

public enum Slope : Int

Specifies the slope of a typeface.

  • The plain slope indicating upright characters.

    Declaration

    Swift

    case plain = 0
  • The italic slope indicating truly slanted characters which appear as they were designed.

    Declaration

    Swift

    case italic = 1
  • The oblique slope indicating artificially slanted characters.

    Declaration

    Swift

    case oblique = 2