diff --git a/README.md b/README.md index 727cbef..a2394cc 100644 --- a/README.md +++ b/README.md @@ -101,4 +101,14 @@ If you are using a custom test file, replace `test.lua` by your file name. - stroke: string => lines color, default to svg:create() parameter ("#000000" by default) - strokeWidth: string => lines width, default to 1 - fill: string => fill color, default to svg:create() parameter ("transparent" by default) - - tranform: string => transformation options (eg: rotation) \ No newline at end of file + - tranform: string => transformation options (eg: rotation) + +**svg:Line(x1, y1, x2, y2, stroke, strokeWidth, fill)** *add a line* + + - x1: number => Horizontal position of the center, default to 30 + - y1: number => Vertical position of the center, default to 30 + - x2: number => Horizontal radius of the ellipse, default to 25 + - y2: number => Vertical radius of the ellipse, default to 15 + - stroke: string => lines color, default to svg:create() parameter ("#000000" by default) + - strokeWidth: string => lines width, default to 1 + - fill: string => fill color, default to svg:create() parameter ("transparent" by default) \ No newline at end of file