+ 2
Svg polyline
Why is my polyline connecting automatically? (First point and last point are connected automatically) This should only happen in polygon right? Why is this happening in polyline https://code.sololearn.com/WQ6tTsrq61wp/?ref=app
1 Odpowiedź
+ 4
It defaults to filling it in.
Set fill="none" to do what you want like this:
<polyline points="10 10,10 50,50 50" fill="none" style="stroke:black; stroke-width:2px" />