Method Create
|
Improve this Doc
View Source
Create(Color, string, ColorEvent, ColorEvent, bool)
Creates a new Colorpicker
Declaration
public static bool Create(Color original, string message, ColorPicker.ColorEvent onColorChanged, ColorPicker.ColorEvent onColorSelected, bool useAlpha = false)
Parameters
Type |
Name |
Description |
Color |
original |
Color before editing |
string |
message |
Display message |
ColorPicker.ColorEvent |
onColorChanged |
Event that gets called when the color gets modified |
ColorPicker.ColorEvent |
onColorSelected |
Event that gets called when one of the buttons done or cancel get pressed |
bool |
useAlpha |
When set to false the colors used don't have an alpha channel |
Returns
Type |
Description |
bool |
False if the instance is already running |