0 added
0 removed
Original
2026-01-01
Modified
2026-03-09
1
<p>You can draw polylines using the polyline tag. The coordinates of points on the line can be set using the points attribute, just like they can for the polygon.</p>
1
<p>You can draw polylines using the polyline tag. The coordinates of points on the line can be set using the points attribute, just like they can for the polygon.</p>
2
<p>Code example:</p>
2
<p>Code example:</p>
3
<polyline points="10,135 100,10 55,135 10,10 105,135"/><p>Result:</p>
3
<polyline points="10,135 100,10 55,135 10,10 105,135"/><p>Result:</p>
4
<p>The difference between a polygon and a polyline is in the behavior of the stroke: for a polygon, the stroke is terminated by itself (shape on the left), while for a polyline it remains open (shape on the right):</p>
4
<p>The difference between a polygon and a polyline is in the behavior of the stroke: for a polygon, the stroke is terminated by itself (shape on the left), while for a polyline it remains open (shape on the right):</p>