Direction

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

    Declaration

    Swift

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

    Parameters

    raw

    The raw integer value to initialise the enum from

  • ltr

    A strong left-to-right direction

    Declaration

    Swift

    static let ltr: PangoDirection
  • rtl

    A strong right-to-left direction

    Declaration

    Swift

    static let rtl: PangoDirection
  • Deprecated value; treated the same as PANGO_DIRECTION_RTL.

    Declaration

    Swift

    static let ttbLtr: PangoDirection
  • Deprecated value; treated the same as PANGO_DIRECTION_LTR

    Declaration

    Swift

    static let ttbRtl: PangoDirection
  • A weak left-to-right direction

    Declaration

    Swift

    static let weakLtr: PangoDirection
  • A weak right-to-left direction

    Declaration

    Swift

    static let weakRtl: PangoDirection
  • No direction specified

    Declaration

    Swift

    static let neutral: PangoDirection