Variant

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

    Declaration

    Swift

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

    Parameters

    raw

    The raw integer value to initialise the enum from

  • A normal font.

    Declaration

    Swift

    static let normal: PangoVariant
  • A font with the lower case characters replaced by smaller variants of the capital characters.

    Declaration

    Swift

    static let smallCaps: PangoVariant
  • A font with all characters replaced by smaller variants of the capital characters. Since: 1.50

    Declaration

    Swift

    static let allSmallCaps: PangoVariant
  • A font with the lower case characters replaced by smaller variants of the capital characters. Petite Caps can be even smaller than Small Caps. Since: 1.50

    Declaration

    Swift

    static let petiteCaps: PangoVariant
  • A font with all characters replaced by smaller variants of the capital characters. Petite Caps can be even smaller than Small Caps. Since: 1.50

    Declaration

    Swift

    static let allPetiteCaps: PangoVariant
  • A font with the upper case characters replaced by smaller variants of the capital letters. Since: 1.50

    Declaration

    Swift

    static let unicase: PangoVariant
  • A font with capital letters that are more suitable for all-uppercase titles. Since: 1.50

    Declaration

    Swift

    static let titleCaps: PangoVariant