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_DuGR_api.jsxinc, line 13130

Members

DuColor

# static color

The current color

View Source DuAEF_DuGR_api.jsxinc, line 13141

DuColorSelector~onChange

# static onChange

Method called when the has been changed

View Source DuAEF_DuGR_api.jsxinc, line 13156

Methods

# static setColor(color)

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

View Source DuAEF_DuGR_api.jsxinc, line 13148

Type Definitions

# onChange()

The function to execute when the color is changed.

View Source DuAEF_DuGR_api.jsxinc, line 13163