From: wout Date: Sat, 22 Dec 2012 14:34:56 +0000 (+0100) Subject: Updated readme X-Git-Tag: 0.2~81 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=ffcc6f4f962652742f1424c6ce9b83d397693853;p=svg.js.git Updated readme --- diff --git a/README.md b/README.md index 878e65f..b47fbc4 100644 --- a/README.md +++ b/README.md @@ -83,6 +83,7 @@ var image = draw.image('/path/to/image.jpg').move(100, 100).size(200, 200); ### Path +Pass the path string as the first argument: ```javascript var path = draw.path('M10,20L30,40').attr({ fill: '#9dffd3' }); ```