Enumeration

NSView.BackgroundStyle

Background styles used with the backgroundStyle and interiorBackgroundStyle properties.

Declaration

enum BackgroundStyle : Int

Topics

Constants

static let light: NSView.BackgroundStyle

The background is a light color.

Deprecated
static let dark: NSView.BackgroundStyle

The background is a dark color.

Deprecated
case raised

The background is intended to appear higher than the content drawn on it.

case lowered

The background is intended to appear lower than the content drawn on it.

See Also

Managing Display Attributes

var isBezeled: Bool

A Boolean value indicating whether the cell has a bezeled border.

var isBordered: Bool

A Boolean value indicating whether the cell draws itself outlined with a plain border.

var isOpaque: Bool

A Boolean value indicating whether the cell is completely opaque.

var controlTint: NSControlTint

The cell’s control tint.

Deprecated
var backgroundStyle: NSView.BackgroundStyle

The cell’s background style.

var interiorBackgroundStyle: NSView.BackgroundStyle

The cell’s interior background style.