From ffcc6f4f962652742f1424c6ce9b83d397693853 Mon Sep 17 00:00:00 2001 From: wout Date: Sat, 22 Dec 2012 15:34:56 +0100 Subject: [PATCH] Updated readme --- README.md | 1 + 1 file changed, 1 insertion(+) 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' }); ``` -- 2.39.5