From d3e0a001c8e6fa0d6beb15845fdbffa3e33c821a Mon Sep 17 00:00:00 2001 From: Andrea Bogazzi Date: Sat, 8 Jun 2019 13:30:22 +0200 Subject: [PATCH] added deprecation warning for Object.transformMatrix (#5747) --- src/shapes/object.class.js | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/shapes/object.class.js b/src/shapes/object.class.js index ee44c9fe9df..7d98c72e36a 100644 --- a/src/shapes/object.class.js +++ b/src/shapes/object.class.js @@ -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,