DingiTextRotationAlignment
enum DingiTextRotationAlignment {}
In combination with DingiSymbolStyleLayer.symbolPlacement, determines the
rotation behavior of the individual glyphs forming the text.
Values of this type are used in the DingiSymbolStyleLayer.textRotationAlignment
property.
-
When
symbolPlacementis set toDingiSymbolPlacementPoint, aligns text east-west. WhensymbolPlacementis set toDingiSymbolPlacementLineorDingiSymbolPlacementLineCenter, aligns text x-axes with the line.Declaration
Objective-C
DingiTextRotationAlignmentMapSwift
case map = 0 -
Produces glyphs whose x-axes are aligned with the x-axis of the viewport, regardless of the value of
DingiSymbolStyleLayer.symbolPlacement.Declaration
Objective-C
DingiTextRotationAlignmentViewportSwift
case viewport = 1 -
When
symbolPlacementis set toDingiSymbolPlacementPoint, this is equivalent toDingiTextRotationAlignmentViewport. WhensymbolPlacementis set toDingiSymbolPlacementLineorDingiSymbolPlacementLineCenter, this is equivalent toDingiTextRotationAlignmentMap.Declaration
Objective-C
DingiTextRotationAlignmentAutoSwift
case auto = 2
DingiTextRotationAlignment Enumeration Reference