Class

DuColorSelector

DuColorSelector()

For use with DuScriptUI.
A color selector, with an edittext and a random button.
This is not a real class, and cannot be instanciated.
Use DuScriptUI.colorSelector to create a Selector.
The Selector inherits the Group object from ScriptUI and has all of its properties and methods.
Constructor

# new DuColorSelector()

View Source DuAEF.jsxinc, line 14546

Members

DuColor

# static color

The current color

View Source DuAEF.jsxinc, line 14557

DuColorSelector~onChange

# static onChange

Method called when the has been changed

View Source DuAEF.jsxinc, line 14572

Methods

# static setColor(color)

Sets the current color
Parameters:
Name Type Description
color DuColor The new color

View Source DuAEF.jsxinc, line 14564

Type Definitions

# onChange()

The function to execute when the color is changed.

View Source DuAEF.jsxinc, line 14579