alignment()
Returns the horizontal alignment of text within the bounds of the annotation.
Declaration
func alignment() -> NSTextAlignmentReturn Value
The horizontal alignment of text within the bounds of the annotation. Supported values are NSLeftTextAlignment, NSRightTextAlignment, and NSCenterTextAlignment.