setObjectProperties(id, props) {
    const object = this.getObject(id);
    const clone = extend({}, props);

    object.set(clone);

    object.setCoords();

    this.getCanvas().renderAll();

    return clone;
  }
Set object properties
@param {number} id - object id
@param {Object} props - props
    @param {string} [props.fill] Color
    @param {string} [props.fontFamily] Font type for text
    @param {number} [props.fontSize] Size
    @param {string} [props.fontStyle] Type of inclination (normal / italic)
    @param {string} [props.fontWeight] Type of thicker or thinner looking (normal / bold)
    @param {string} [props.textAlign] Type of text align (left / center / right)
    @param {string} [props.textDecoration] Type of line (underline / line-through / overline)
@returns {Object} applied properties