Instance Property

backgroundColor

The receiver’s background color.

Declaration

@NSCopying var backgroundColor: NSColor { get set }

See Also

Setting Graphics Attributes

var drawsBackground: Bool

A Boolean value that indicates whether the receiver draws its background.

var allowsDocumentBackgroundColorChange: Bool

A Boolean value that indicates whether the receiver allows its background color to change.

func changeDocumentBackgroundColor(Any?)

An action method used to set the background color.