drawTool.enableEraser Property HTML5/Flash Uploader JavaScript

Supported technologies:

Gets or sets a value specifying whether to display the eraser tool.


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

Property Value

Type: Boolean

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

Default value is true.


The draw tool width also affects the eraser width.

See Also