diff --git a/src/color/GradientColor.js b/src/color/GradientColor.js index af9be7b4..7ccac410 100644 --- a/src/color/GradientColor.js +++ b/src/color/GradientColor.js @@ -3,10 +3,10 @@ GradientColor = Color.extend({ initialize: function(gradient, origin, destination, hilite) { this.gradient = gradient || new Gradient(); - this.origin = new Point(origin); - this.destination = new Point(destination); + this.origin = origin; + this.destination = destination; if(hilite) - this.hilite = new Point(hilite); + this.hilite = hilite; }, getOrigin: function() {