reinserted deleted method to do not break api

This commit is contained in:
Asturur 2017-04-23 13:48:39 +02:00
parent aff86b1b6b
commit e2facba9d3

View file

@ -1104,6 +1104,17 @@
// implemented by sub-classes, as needed.
},
/**
* Sets sourcePath of an object
* @param {String} value Value to set sourcePath to
* @return {fabric.Object} thisArg
* @chainable
*/
setSourcePath: function(value) {
this.sourcePath = value;
return this;
},
/**
* Retrieves viewportTransform from Object's canvas if possible
* @method getViewportTransform