drawTool.color Property HTML5/Flash Uploader JavaScript

Supported technologies:

Gets or sets a draw tool color.


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

Property Value

Type: String

The color value, specifying the pen color.

Default value is "#000000".


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