diff --git a/src/path/Path.Constructors.js b/src/path/Path.Constructors.js index 3e6d28fe..022d1d4d 100644 --- a/src/path/Path.Constructors.js +++ b/src/path/Path.Constructors.js @@ -73,10 +73,10 @@ Path.inject({ statics: new function() { * }); */ Line: function(/* from, to */) { - return new Path( + return new Path([ Point.readNamed(arguments, 'from'), Point.readNamed(arguments, 'to') - ).set(Base.getNamed(arguments)); + ]).set(Base.getNamed(arguments)); }, /**