This class represents the draw tool settings.

For a list of all members of this class, see drawTool Members.



$au.drawTool = function() {


The draw tool consists of the freehand pen and eraser. The pen has two attributes - color and width.

Using this class, you may control what features of the draw tool should appear to the user. For example, enableEraser toggles the eraser tool, enableColorPicker hides or shows the pen color selection tool and enableWidthSlider - pen width selection tool. The lower and upper values of the pen width is controlled using the minWidth and maxWidth properties.