drawTool.width Property HTML5/Flash Uploader JavaScript

Supported technologies:

Gets or sets a draw tool width.


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

Property Value

Type: Number

The number specifying the pen width.

Default value is 20.


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