WrapMode

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

    Declaration

    Swift

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

    Parameters

    raw

    The raw integer value to initialise the enum from

  • wrap lines at word boundaries.

    Declaration

    Swift

    static let word: PangoWrapMode
  • wrap lines at character boundaries.

    Declaration

    Swift

    static let char: PangoWrapMode
  • wrap lines at word boundaries, but fall back to character boundaries if there is not enough space for a full word.

    Declaration

    Swift

    static let wordChar: PangoWrapMode