Einhugur macOS Bridge plugin. |

# EinhugurMacOSBridge.NSColorPickerTouchBarItem Class (desktop)

Touch Bar item type to display color picker.
For Touch Bars macOS 10.12.2 or later is needed.

EinhugurMacOSBridge.NSTouchBarItem
NSColorPickerTouchBarItem

class EinhugurMacOSBridge.NSColorPickerTouchBarItem

#### Constructors

NSColorPickerTouchBarItem | Constructor which takes identifier, imageType enum and action handler.
NSColorPickerTouchBarItem | Constructor which takes identifier, NSImage and action handler.

#### Properties

ClassName (Inherited) (desktop - console) | Returns the name of the Cocoa class under the hood as String.
CustomizationLabel (Inherited) | Sets or gets the user-visible string identifying this item during bar customization.
Enabled | Sets or gets the enabled state of the color picker item.
Handle (Inherited) | Returns Integer handle to the native NSObject structure.
SelectedColor | Sets or gets the selected color of the color picker item.
ShowsAlpha | If set to true then the color picker will also allow colors with alpha value in them.

#### Methods

Release (Inherited) | Releases the NSObject.
Retain (Inherited) | Retains the NSObject
SetCustomColorList | Sets custom color list to be displayed in the color picker.
SetVisibilityPriority (Inherited) | Sets priority of the Touch Bar item, where the lowest priority ones get hidden if there is no space to show them all.

#### Delegates

ColorPickerActionDelegate | Delegate that defines action handler for the NSColorPickerTouchBarItem.

#### Enumerations

ColorPickerImageType | Enum with values to select one of the standard Touch Bar color picker images.

#### Constants

Version = 5.0 (Inherited) |

#### Supported Platforms:

- macOS Intel 64 bit
- macOS Apple Silicon

#### Unsupported Platforms:

- Windows 32 bit
- Windows 64 bit
- Windows ARM 64 bit
- Linux 32 bit
- Linux 64 bit
- Linux ARM 32 bit
- Linux ARM 64 bit