Answer the question
In order to leave comments, you need to log in
Is it possible to convert path to polyline?
There is SVG:
<svg width="14" height="12" viewBox="0 0 14 12" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M2 5.75L5.75 10.75L12 2" stroke="#1E2321" stroke-width="2.5" stroke-linecap="round" stroke-linejoin="round"/>
</svg>
Answer the question
In order to leave comments, you need to log in
You don’t need to guess anything, if you use the same one viewBox
, then the coordinates will be the same:
<svg width="14" height="12" viewBox="0 0 14 12" fill="none" xmlns="http://www.w3.org/2000/svg">
<polyline points="2,5.75 5.75,10.75 12,2" fill="none" stroke="#1E2321" />
</svg>
viewBox
is the size of the coordinate grid, and the coordinates must obviously correspond to it.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question