+ 6

I want to rotate my polyline... How can i do that??

I am preparing a simple code from it.

4th Apr 2018, 8:02 AM
NIGHT STAR
NIGHT STAR - avatar
3 Answers
+ 5
CSS: polyline{ transform:rotate(30deg); }
4th Apr 2018, 1:32 PM
Muhd Khairul Amirin
Muhd Khairul Amirin - avatar
+ 3
https://code.sololearn.com/WN98d8bKefeC/?ref=app CSS would more than likely be your best bet to use with a polyline, plus you can bend the polyline, change thickness, lengthen and shrink...
4th Apr 2018, 2:01 PM
BroFar
BroFar - avatar
+ 2
Hi Night Star For SVG elements you can use Transform rotate. <rect x="20" y="20" width="40" height="40" style="fill: #3333cc" transform="rotate(15)" />
4th Apr 2018, 8:45 AM
Mike Choy
Mike Choy - avatar