From cf5062b0729781f8442b3e4d78c5a9fe62c3afec Mon Sep 17 00:00:00 2001 From: Andrea Bogazzi Date: Sat, 16 Aug 2014 17:17:00 +0200 Subject: [PATCH] Update gradient.class.js --- src/gradient.class.js | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/gradient.class.js b/src/gradient.class.js index 4769d18d..79534f3a 100644 --- a/src/gradient.class.js +++ b/src/gradient.class.js @@ -77,16 +77,16 @@ */ fabric.Gradient = fabric.util.createClass(/** @lends fabric.Gradient.prototype */ { /* - * Stores the original position of the gradient when we convert from % to fixed values, - * On objectBoundingBox case. We could you object.left and top, but those are subject - * to change, and we need the original value when exporting back to SVG. + * Stores the original position of the gradient when we convert from % to fixed values, for objectBoundingBox case. + * @type Number + * @default 0 */ origX: 0, /* - * Stores the original position of the gradient when we convert from % to fixed values, - * On objectBoundingBox case. We could you object.left and top, but those are subject - * to change, and we need the original value when exporting back to SVG. + * Stores the original position of the gradient when we convert from % to fixed values, for objectBoundingBox case. + * @type Number + * @default 0 */ origY: 0,