drawTool.enableColorPicker Property HTML5/Flash Uploader JavaScript

Supported technologies:

Gets or sets a value specifying whether to display the pen color picker.

Syntax

JavaScript Initialize
$au.imageUploaderFlash({
    imageEditor : {
        drawTool: {
            //...other params...
            enableColorPicker: true,
            //...other params...
        }
    }
})
Get/Set Value at Runtime
$au.imageUploaderFlash('uploaderID').imageEditor().drawTool().enableColorPicker(value);
value = $au.imageUploaderFlash('uploaderID').imageEditor().drawTool().enableColorPicker();

Property Value

Type: Boolean

If true, the user sees a color picker on the toolbar when the draw tool is activated.

Default value is true.

See Also

Reference