Instance Property

backgroundColor

The background color of the text block.

Declaration

@NSCopying var backgroundColor: NSColor? { get set }

See Also

Working with color

func setBorderColor(NSColor?, for: NSRectEdge)

Sets the border color of the specified edge of the text block.

func setBorderColor(NSColor?)

Sets the color of all borders of the text block.

func borderColor(for: NSRectEdge)

Returns the border color of the specified text block edge.