Instance Method

rotation

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

Declaration

- (NSInteger)rotation;

Return Value

The rotation angle of the annotation text field in degrees.

Discussion

Note that the rotation value is a positive multiple of 90, such as 0, 90, 180, or 270. The rotation of annotation text fields with negative rotation is converted to a corresponding positive rotation. For example, -90 is changed to 270.

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
- alignment

Returns the text alignment setting for the annotation.

Deprecated
- setAlignment:

Sets the text alignment for the annotation.

Deprecated
- setRotation:

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

Deprecated