execute(graphics, id, posInfo) {
    const targetObj = graphics.getObject(id);

    if (!targetObj) {
      return Promise.reject(rejectMessages.noObject);
    }

    this.undoData.objectId = id;
    this.undoData.props = graphics.getObjectProperties(id, ['left', 'top']);

    graphics.setObjectPosition(id, posInfo);
    graphics.renderAll();

    return Promise.resolve();
  }
Set object properties
@param {Graphics} graphics - Graphics instance
@param {number} id - object id
@param {Object} posInfo - position object
 @param {number} posInfo.x - x position
 @param {number} posInfo.y - y position
 @param {string} posInfo.originX - can be 'left', 'center', 'right'
 @param {string} posInfo.originY - can be 'top', 'center', 'bottom'
@returns {Promise}