EllipsizeMode

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

    Declaration

    Swift

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

    Parameters

    raw

    The raw integer value to initialise the enum from

  • No ellipsization

    Declaration

    Swift

    static let none: Int
  • Omit characters at the start of the text

    Declaration

    Swift

    static let start: PangoEllipsizeMode
  • Omit characters in the middle of the text

    Declaration

    Swift

    static let middle: PangoEllipsizeMode
  • end

    Omit characters at the end of the text

    Declaration

    Swift

    static let end: PangoEllipsizeMode