From c3d7666dfbb7744b4c0c3d373582e6f268e70b62 Mon Sep 17 00:00:00 2001 From: Thomas DAGES Date: Thu, 6 Dec 2018 15:39:16 +0100 Subject: [PATCH] documentation part 1 --- README.md | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 1619ae6..4a3bc39 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,6 @@ # svg-lua svg lua library - # usage ```lua mon_dessin = svg:create() @@ -18,4 +17,14 @@ result : can be tested [here](https://www.lua.org/cgi-bin/demo) -`svg.min.lua` generated with [Lua Minifier from Mothereff.in](https://mothereff.in/lua-minifier) \ No newline at end of file +`svg.min.lua` generated with [Lua Minifier from Mothereff.in](https://mothereff.in/lua-minifier) + +# Documentation + +**svg:create()** + create the svg object + Params: + - width: number => width of the drawing + - height: number => height of the drawing + - stroke: string => lines color + - fill: string => fill color \ No newline at end of file -- 2.51.2