drawTool.color Property HTML5/Flash Uploader JavaScript

Supported technologies:

Gets or sets a draw tool color.

Syntax

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

Property Value

Type: String

The color value, specifying the pen color.

Default value is "#000000".

Remarks

The user may select another color using a color picker. If you don't want the user to change the color, you can hide the color picker using the enableColorPicker.

See Also

Reference