Instance Method

setFontColor(_:)

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

Declaration

func setFontColor(_ color: NSColor!)

Parameters

color

The color of the font to be used for the text in the widget annotation.

See Also

Managing Font and Background Color Characteristics

func backgroundColor() -> NSColor!

Returns the color of the widget annotation background.

Deprecated
func setBackgroundColor(NSColor!)

Sets the background color of the widget annotation.

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