MGLTextJustification
enum MGLTextJustification : NSUInteger {}
Text justification options.
Values of this type are used in the MGLSymbolStyleLayer.textJustification
property.
-
The text is aligned towards the anchor position.
Declaration
Objective-C
MGLTextJustificationAuto
Swift
case auto = 0
-
The text is aligned to the left.
Declaration
Objective-C
MGLTextJustificationLeft
Swift
case left = 1
-
The text is centered.
Declaration
Objective-C
MGLTextJustificationCenter
Swift
case center = 2
-
The text is aligned to the right.
Declaration
Objective-C
MGLTextJustificationRight
Swift
case right = 3