summaryrefslogtreecommitdiffstats
path: root/README.md
diff options
context:
space:
mode:
authorwout <wout@impinc.co.uk>2012-12-22 15:34:56 +0100
committerwout <wout@impinc.co.uk>2012-12-22 15:34:56 +0100
commitffcc6f4f962652742f1424c6ce9b83d397693853 (patch)
tree3fd1f1161b35784015427ecd9a7baed867f80b4e /README.md
parent431fdc6cc864f60a1ed70e61872c66941a33c2ac (diff)
downloadsvg.js-ffcc6f4f962652742f1424c6ce9b83d397693853.tar.gz
svg.js-ffcc6f4f962652742f1424c6ce9b83d397693853.zip
Updated readme
Diffstat (limited to 'README.md')
-rw-r--r--README.md1
1 files changed, 1 insertions, 0 deletions
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' });
```