SBSDKTextOrientation

enum SBSDKTextOrientation : NSInteger {}

Part of the text layout analysis result. Describes the detected orientation of the text.

  • Text orientation was not recognized (bad image quality, etc).

    Declaration

    Objective-C

    SBSDKTextOrientationNotRecognized = -2

    Swift

    case notRecognized = -2
  • Text were recognized, but the confidence of recognition is too low. *

    Declaration

    Objective-C

    SBSDKTextOrientationLowConfidence = -1

    Swift

    case lowConfidence = -1
  • The text is oriented correctly.

    Declaration

    Objective-C

    SBSDKTextOrientationUp = 0

    Swift

    case up = 0
  • The text is rotated 90 degrees in clockwise direction.

    Declaration

    Objective-C

    SBSDKTextOrientationRight = 90

    Swift

    case right = 90
  • The text is rotated 180 degrees.

    Declaration

    Objective-C

    SBSDKTextOrientationDown = 180

    Swift

    case down = 180
  • The text is rotated 90 degrees in counter-clockwise direction.

    Declaration

    Objective-C

    SBSDKTextOrientationLeft = 270

    Swift

    case left = 270