Instance Method

setRotation:

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

Declaration

- (void)setRotation:(int)rotation;

Parameters

rotation

The rotation angle to be applied to the annotation text field, in degrees. The rotation angle must be a positive or negative multiple of 90 (negative angles are converted to their positive equivalents; 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
- rotation

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

Deprecated