1.

How To Draw A Open Ended Polygon In Svg?

Answer»

'POLYLINE' TAG of SVG is used to draw a open ended polygon. Following is the commonly used attribute − POINTS − List of points to make up a polygon.

Example −

<polyline points = "150,75 258,137.5 258,262.5 150,325 42,262.6 42,137.5" 
STROKE = "black" 
stroke-width = "3
fill = "none">

'polyline' tag of SVG is used to draw a open ended polygon. Following is the commonly used attribute − points − List of points to make up a polygon.

Example −

<polyline points = "150,75 258,137.5 258,262.5 150,325 42,262.6 42,137.5" 
stroke = "black" 
stroke-width = "3" 
fill = "none">



Discussion

No Comment Found