diff options
author | wout <wout@impinc.co.uk> | 2012-12-29 15:39:40 +0100 |
---|---|---|
committer | wout <wout@impinc.co.uk> | 2012-12-29 15:39:40 +0100 |
commit | 95c7db4d86c429ce4ade55b2f4fec96126640d11 (patch) | |
tree | 27735bb6dde7d33aedff157da78e95b462c80594 /README.md | |
parent | 5fc94f8c98602d8c5081e9f3c67cb409ff75eb56 (diff) | |
download | svg.js-95c7db4d86c429ce4ade55b2f4fec96126640d11.tar.gz svg.js-95c7db4d86c429ce4ade55b2f4fec96126640d11.zip |
Improved container
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -62,7 +62,7 @@ _Note that this generates an `<ellipse>` element instead of a `<circle>`. This c The polyline element defines a set of connected straight line segments. Typically, polyline elements define open shapes: ```javascript -// polyline(x1, y1, x2, y2) +// polyline('x,y x,y x,y') var polyline = draw.polyline('10,20 30,40 50,60'); ``` @@ -75,7 +75,7 @@ _Not unlike the `<circle>` element, the svg `<line>` element has not been implem The polygon element, unlike the polyline element, defines a closed shape consisting of a set of connected straight line segments: ```javascript -// polyline('x,y x,y x,y') +// polygon('x,y x,y x,y') var polygon = draw.polygon('10,20 30,40 50,60'); ``` |