diff --git a/examples/Node.js/exportSVG.js b/examples/Node.js/exportSVG.js index 9690c247..3209c49a 100644 --- a/examples/Node.js/exportSVG.js +++ b/examples/Node.js/exportSVG.js @@ -8,7 +8,7 @@ with (paper) { var radius = view.bounds.width * 0.4, from = new Point(view.center.x), - to = from + [radius, 0]; + to = from.add(radius, 0); var circle = new Path.Circle({ center: from,