SBSDKWritingDirection
enum SBSDKWritingDirection : NSUInteger {}
Part of the page layout analysis result. Describes the reading direction of the text independently from the orientation. Note: Experimental - this is currently not always working correctly for top-to-bottom text.
-
The text (in up-orientation) is read from left to right. (English, etc.)
Declaration
Objective-C
SBSDKWritingDirectionLeftToRight
Swift
case leftToRight = 0
-
The text (in up-orientation) is read from right to left. (Arabian, Hebrew)
Declaration
Objective-C
SBSDKWritingDirectionRightToLeft
Swift
case rightToLeft = 1
-
The text (in up-orientation) is read from top to bottom. (Japanese, etc.)
Declaration
Objective-C
SBSDKWritingDirectionTopToBottom
Swift
case topToBottom = 2