Instance Method

setBackgroundColor(_:)

Sets the background color of the widget annotation.

Declaration

func setBackgroundColor(_ color: NSColor!)

Parameters

color

The color to use in the background of the widget annotation.

See Also

Managing Font and Background Color Characteristics

func backgroundColor() -> NSColor!

Returns the color of the widget annotation background.

Deprecated
func font() -> NSFont!

Returns the font used to display the text in the widget annotation.

Deprecated
func setFont(NSFont!)

Sets the font used to display the text in the widget annotation.

Deprecated
func fontColor() -> NSColor!

Returns the font color used to display the text in the widget annotation.

Deprecated
func setFontColor(NSColor!)

Sets the font color used to display the text in the widget annotation.

Deprecated