SVG <polyline>


Release date:2023-12-07 Update date:2023-12-07 Editor:admin View counts:226

Label:

SVG <polyline>

SVG Polyline- <polyline>

Example 1

<polyline> Elements are used to create any shape with only straight lines:

Sorry, your browser does not support inline SVG. Here is the SVG code:

Example

<svgxmlns="http://www.w3.org/2000/svg"version="1.1"><polylinepoints="20,20
40,25 60,40 80,120 120,140
200,180"style="fill:none;stroke:black;stroke-width:3"/></svg>

F for Opera users: view the SVG file (right-click the SVG drawing preview source).

Example 2

There is only another example of a straight line:

Sorry, your browser does not support inline SVG. Here is the SVG code:

Example

<svgxmlns="http://www.w3.org/2000/svg"version="1.1"><polylinepoints="0,40
40,40 40,80 80,80 80,120 120,120
120,160"style="fill:white;stroke:red;stroke-width:4"/></svg>

F for Opera users: view the SVG file (right-click the SVG drawing preview source).

Powered by TorCMS (https://github.com/bukun/TorCMS).