[READ-ONLY] Mirror of https://github.com/thoda-dev/svg-lua. svg lua library
0

Configure Feed

Select the types of activity you want to include in your feed.

Update README.md

Thomas DAGES (Dec 6, 2018, 3:53 PM +0100) decfcd55 3db82637

+14 -1
+14 -1
README.md
··· 31 31 32 32 - element: svg.Element => see farther for element list 33 33 34 - **svg:draw()** *return the svg formated string* 34 + **svg:draw()** *return the svg formated string* 35 + 36 + ## Elements for svg:add() 37 + **svg:Rect()** *add a rectangle* 38 + 39 + - x: number => Horizontal position from top left corner, default to 10 40 + - y: number => Vertical position from top left corner, default to 10 41 + - width: number => Width of the rectangle, default to 10 42 + - height: number => Height of the rectangle, default to 10 43 + - stroke: string => lines color, default to '#000000' 44 + - strokeWidth: string => lines width, default to 1 45 + - fill: string => fill color, default to transparent 46 + - rx: number => Horizontal raduis of the corners, default to 0 47 + - ry: number => Vertical radius of the corners, default to 0