GSColorView Class
A color-view can be used to preview a color used for commands like "Flash Screen", etc. but can also be used to let the user select a custom color if selectable attribute is set.
Item Index
Properties
alpha (Binding)
Number
The alpha-value of the color. Goes from 0 to 255.
blue (Binding)
Number
The blue-value of the color. Goes from 0 to 255.
green (Binding)
Number
The green-value of the color. Goes from 0 to 255.
maximum
Number
The maximum number value the user can enter.
red (Binding)
Number
The red-value of the color. Goes from 0 to 255.
selectable
Boolean
If true the color-view can be clicked and shows a popup-window to let the user select a custom color. Otherwise it cannot be clicked and only shows a color-preview of its color-data.
setValue:value: (Delegate)
Delegate
Sets the color-data of the color-view. The color-data must be RAW object like: { red: 0, green: 0, blue: 0, alpha: 0}