Instance Method

font()

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

Declaration

func font() -> NSFont!

Return Value

The font used to display 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 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