From 1eddf62e471c92a695758b25e1e156b47a807828 Mon Sep 17 00:00:00 2001 From: Thomas Date: Tue, 8 Jan 2019 13:55:23 +0100 Subject: [PATCH] path and polyline transform support documentation --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 92fb1c4..c8b9cc7 100644 --- a/README.md +++ b/README.md @@ -122,14 +122,14 @@ If you installed luamin, you can use the script `minify.bat` included to minify - strokeWidth: string => lines width, default to 1 - fill: string => fill color, default to svg:create() parameter ("transparent" by default) -**svg:Polyline(points, stroke, strokeWidth, fill)** *add a polyline* +**svg:Polyline(points, stroke, strokeWidth, fill, transform)** *add a polyline* - points: string => all the points of the polyline with the standard svg format "x1,y1 x2,y2 x3,y3 ..." - stroke: string => lines color - strokeWidth: string => lines width - fill: string => fill color -**svg:Path(d, stroke, strokeWidth, fill)** *add a path* +**svg:Path(d, stroke, strokeWidth, fill, transform)** *add a path* - d: string => standard svg parameters - stroke: string => lines color -- 2.51.2