From 8f6651275f02c53fd7e07f2f9723f54b88d20a9f Mon Sep 17 00:00:00 2001 From: Thomas Date: Mon, 10 Dec 2018 15:08:44 +0100 Subject: [PATCH] update documentation for lines --- README.md | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) 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 -- 2.51.2