Skip to content

Commit

Permalink
added deprecation warning for Object.transformMatrix (fabricjs#5747)
Browse files Browse the repository at this point in the history
  • Loading branch information
asturur authored Jun 8, 2019
1 parent 6b4530b commit 9db3649
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/shapes/object.class.js
Original file line number Diff line number Diff line change
Expand Up @@ -372,6 +372,12 @@

/**
* Transform matrix (similar to SVG's transform matrix)
* This property has been depreacted. Since caching and and qrDecompose this
* property can be handled with the standard top,left,scaleX,scaleY,angle and skewX.
* A documentation example on how to parse and merge a transformMatrix will be provided before
* completely removing it in fabric 4.0
* If you are starting a project now, DO NOT use it.
* @deprecated since 3.2.0
* @type Array
*/
transformMatrix: null,
Expand Down

0 comments on commit 9db3649

Please sign in to comment.