A Color Chooser component, allowing textual input, a default gradient, or custom image.
Constructor
new (?parent:DisplayObjectContainer, ?xpos:Float, ?ypos:Float, ?value:UInt, ?defaultHandler:Dynamic)
Constructor
Parameters:
parent | The parent DisplayObjectContainer on which to add this ColorChooser. |
---|---|
xpos | The x position to place this component. |
ypos | The y position to place this component. |
value | The initial color value of this component. |
defaultHandler | The event handling function to handle the default event for this component (change in this case). |