drawTool.width Property HTML5/Flash Uploader JavaScript

Supported technologies:

Gets or sets a draw tool width.

Syntax

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

Property Value

Type: Number

The number specifying the pen width.

Default value is 20.

Remarks

The user may change width using a width slider on the toolbar. If you don't want the user to change it, you can hide the slider using the enableWidthSlider property.

See Also

Reference