MBProcessingOrientation
Objective-C
enum MBProcessingOrientation : NSInteger {}
Swift
enum MBProcessingOrientation : Int, @unchecked Sendable
Enum which describes text orientation on an image.
-
Text oriented same as picture
Declaration
Objective-C
MBProcessingOrientationUp
Swift
case up = 0
-
Text is rotated 90 degrees clockwise
Declaration
Objective-C
MBProcessingOrientationRight
Swift
case right = 1
-
Text is upside down
Declaration
Objective-C
MBProcessingOrientationDown
Swift
case down = 2
-
Text is rotated 90 degrees counterclockwise
Declaration
Objective-C
MBProcessingOrientationLeft
Swift
case left = 3