Structure

NSColorPanel.Options

The color modes that are enabled for a color panel.

Declaration

struct Options

Topics

Relationships

Conforms To

See Also

Setting Color Picker Modes

class func setPickerMode(NSColorPanel.Mode)

Specifies the color panel’s initial picker.

var mode: NSColorPanel.Mode

The mode of the receiver the mode is one of the modes allowed by the color mask.

enum NSColorPanel.Mode

A type defined for the enum constants specifying color panel modes.

class func setPickerMask(NSColorPanel.Options)

Determines which color selection modes are available in an application’s NSColorPanel.