function bindMouseControls() {
        canvas.onmousedown   = handleMouseDown;
        document.onmouseup   = handleMouseUp;
        document.onmousemove = handleMouseMove;
    }
/**
     * Binds the mouse events to handler functions.
     * @method bindMouseControls
     */
Binds the mouse events to handler functions.
Binds the mouse events to handler functions .
function bindMouseControls() {
        canvas.onmousedown   = handleMouseDown;
        document.onmouseup   = handleMouseUp;
        document.onmousemove = handleMouseMove;
    }
function bindMouseControls ( ) { canvas . onmousedown = handleMouseDown ; document . onmouseup = handleMouseUp ; document . onmousemove = handleMouseMove ; }
Binds the mouse events to handler functions.
Binds the mouse events to handler functions .