MGLTextJustify
enum MGLTextJustify : NSUInteger {}
Text justification options.
Values of this type are used in the textJustify
property of MGLSymbolStyleLayer
.
-
The text is aligned to the left.
Declaration
Objective-C
MGLTextJustifyLeft
Swift
case left = 0
-
The text is centered.
Declaration
Objective-C
MGLTextJustifyCenter
Swift
case center = 1
-
The text is aligned to the right.
Declaration
Objective-C
MGLTextJustifyRight
Swift
case right = 2