Style

public extension Style
  • Cast constructor, converting any binary integer to a Style.

    Declaration

    Swift

    @inlinable
    init!<I>(_ raw: I) where I : BinaryInteger

    Parameters

    raw

    The raw integer value to initialise the enum from

  • the font is upright.

    Declaration

    Swift

    static let normal: PangoStyle
  • the font is slanted, but in a roman style.

    Declaration

    Swift

    static let oblique: PangoStyle
  • the font is slanted in an italic style.

    Declaration

    Swift

    static let italic: PangoStyle