new Tool('rectangle', { cursor: 'crosshair', brushPreview: true, }); new Tool('resizerectangle', { cursor: 'default', }); /*global Tool, tool*/