Instance Method

setBackgroundColor(_:)

Sets the background color of the annotation text field.

Declaration

func setBackgroundColor(_ color: NSColor!)

Parameters

color

The color to be used in the background of the annotation’s text field.

See Also

Managing Background Color, Alignment, and Rotation

func backgroundColor() -> NSColor!

Returns 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