···122122 - strokeWidth: string => lines width, default to 1
123123 - fill: string => fill color, default to svg:create() parameter ("transparent" by default)
124124125125-**svg:Line(points, stroke, strokeWidth, fill)** *add a polyline*
125125+**svg:Polyline(points, stroke, strokeWidth, fill)** *add a polyline*
126126127127 - points: string => all the points of the polyline with the standard svg format "x1,y1 x2,y2 x3,y3 ..."
128128 - stroke: string => lines color
+1-1
svg.lua
···168168-- stroke: string => lines color
169169-- strokeWidth: string => lines width
170170-- fill: string => fill color
171171-function svg:Line(points, stroke, strokeWidth, fill)
171171+function svg:Polyline(points, stroke, strokeWidth, fill)
172172 return self.Element:create("line", {
173173 points = points or "10,10 50,50 50,25 75,25",
174174 stroke = stroke or self.stroke,