mirror of
https://github.com/Hopiu/fabric.js.git
synced 2026-05-14 08:43:12 +00:00
reinserted deleted method to do not break api
This commit is contained in:
parent
aff86b1b6b
commit
e2facba9d3
1 changed files with 11 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue