Contents

alignment()

Returns the text alignment setting for the annotation.

Declaration

func alignment() -> NSTextAlignment

Return Value

The text alignment value for the annotation. Supported alignment values are NSLeftTextAlignment, NSRightTextAlignment, and NSCenterTextAlignment.

See Also

Managing Background Color, Alignment, and Rotation