Contents

setAlignment(_:)

Sets the text alignment for the annotation.

Declaration

func setAlignment(_ alignment: NSTextAlignment)

Parameters

  • alignment:

    The text-alignment value to be used for the annotation. Possible values are NSLeftTextAlignment, NSRightTextAlignment, and NSCenterTextAlignment.

See Also

Managing Background Color, Alignment, and Rotation