new module:PolyLine(points, strokeWidthopt, coloropt)
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
points |
PolyLinePoints | points describing this PolyLine |
|
strokeWidth |
number |
<optional> |
width of the stroke for this PolyLine in SVG pixels |
color |
string |
<optional> |
CSS color of this PolyLine |
Extends
- Tag
Methods
-
updatePoints(points)
-
update points of this PolyLine
Parameters:
Name Type Description points
PolyLinePoints new set of points describing this PolyLine