Instance Method

alignment

Returns the text alignment setting for the annotation.

Declaration

- (NSTextAlignment)alignment;

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

- backgroundColor

Returns the background color of the annotation text field.

Deprecated
- setBackgroundColor:

Sets the background color of the annotation text field.

Deprecated
- setAlignment:

Sets the text alignment for the annotation.

Deprecated
- rotation

Returns the rotation angle of the annotation text field in degrees.

Deprecated
- setRotation:

Sets the rotation angle of the annotation text field in degrees.

Deprecated