code: function (e) {
        var pointer = getPointer(e);
        return {
          x: pointer.x - this._offset.left,
          y: pointer.y - this._offset.top
        };
      }
docs: Returns pointer coordinates relative to canvas.
  @method getPointer
  @return {Object} object with "x" and "y" number values