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