BaseDirection

public enum BaseDirection : UInt8

Specifies the base direction of a paragraph.

  • Base direction is left-to-right.

    Declaration

    Swift

    case leftToRight = 0
  • Base direction is right-to-left.

    Declaration

    Swift

    case rightToLeft = 1
  • Base direction depends on the first strong directional character of the paragraph according to Unicode Bidirectional Algorithm. If no strong directional character is present, the base direction is left-to-right.

    Declaration

    Swift

    case defaultLeftToRight = 0xFE
  • Base direction depends on the first strong directional character of the paragraph according to Unicode Bidirectional Algorithm. If no strong directional character is present, the base direction is right-to-left.

    Declaration

    Swift

    case defaultRightToLeft = 0xFD