Instance Method

backgroundColor()

Returns the background color of the annotation text field.

Declaration

func backgroundColor() -> NSColor!

Return Value

The background color of the annotation’s text field.

See Also

Managing Background Color, Alignment, and Rotation

func setBackgroundColor(NSColor!)

Sets the background color of the annotation text field.

Deprecated
func alignment() -> NSTextAlignment

Returns the text alignment setting for the annotation.

Deprecated
func setAlignment(NSTextAlignment)

Sets the text alignment for the annotation.

Deprecated
func rotation() -> Int

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

Deprecated
func setRotation(Int32)

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

Deprecated