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_Duik_api.jsxinc, line 12856

Members

DuColor

# static color

The current color

View Source DuAEF_Duik_api.jsxinc, line 12867

DuColorSelector~onChange

# static onChange

Method called when the has been changed

View Source DuAEF_Duik_api.jsxinc, line 12882

Methods

# static setColor(color)

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

View Source DuAEF_Duik_api.jsxinc, line 12874

Type Definitions

# onChange()

The function to execute when the color is changed.

View Source DuAEF_Duik_api.jsxinc, line 12889