Method Create
|
Edit this page
View Source
Create(Gradient, string, GradientEvent, GradientEvent)
Creates a new GradiantPicker
Declaration
public static bool Create(Gradient original, string message, GradientPicker.GradientEvent onGradientChanged, GradientPicker.GradientEvent onGradientSelected)
Parameters
| Type |
Name |
Description |
| Gradient |
original |
Color before editing |
| string |
message |
Display message |
| GradientPicker.GradientEvent |
onGradientChanged |
Event that gets called when the gradient gets modified |
| GradientPicker.GradientEvent |
onGradientSelected |
Event that gets called when one of the buttons done or cancel gets pressed |
Returns
| Type |
Description |
| bool |
False if the instance is already running |