···2020`svg.min.lua` generated with [Lua Minifier from Mothereff.in](https://mothereff.in/lua-minifier)
21212222# Documentation
2323+### Main methods
2324**svg:create(width, height, stroke, fill)** *create the svg object*
24252525-- width: number => width of the drawing, default to 100
2626-- height: number => height of the drawing, default to 100
2727-- stroke: string => lines color, default to '#000000'
2828-- fill: string => fill color, default to 'transparent'
2626+ - width: number => width of the drawing, default to 100
2727+ - height: number => height of the drawing, default to 100
2828+ - stroke: string => lines color, default to '#000000'
2929+ - fill: string => fill color, default to 'transparent'
29303031**svg:add(element)** *add an element to the drawing*
31323232-- element: svg.Element => see farther for element list
3333+ - element: svg.Element => see farther for element list
33343435**svg:draw()** *return the svg formated string*
35363636-## Elements for svg:add()
3737+### Elements for svg:add()
3738**svg:Rect()** *add a rectangle*
38393939-- x: number => Horizontal position from top left corner, default to 10
4040-- y: number => Vertical position from top left corner, default to 10
4141-- width: number => Width of the rectangle, default to 10
4242-- height: number => Height of the rectangle, default to 10
4343-- stroke: string => lines color, default to '#000000'
4444-- strokeWidth: string => lines width, default to 1
4545-- fill: string => fill color, default to transparent
4646-- rx: number => Horizontal raduis of the corners, default to 0
4747-- ry: number => Vertical radius of the corners, default to 04040+ - x: number => Horizontal position from top left corner, default to 10
4141+ - y: number => Vertical position from top left corner, default to 10
4242+ - width: number => Width of the rectangle, default to 10
4343+ - height: number => Height of the rectangle, default to 10
4444+ - stroke: string => lines color, default to '#000000'
4545+ - strokeWidth: string => lines width, default to 1
4646+ - fill: string => fill color, default to transparent
4747+ - rx: number => Horizontal raduis of the corners, default to 0
4848+ - ry: number => Vertical radius of the corners, default to 0