0

Can we tilt the rectangle for some angle using any attribute of svg?

6th Dec 2018, 3:30 PM
Syamala Gowri
Syamala Gowri - avatar
8 Respuestas
0
Thankyou very much.Its working.
6th Dec 2018, 3:59 PM
Syamala Gowri
Syamala Gowri - avatar
+ 3
You can use transform attribute or css (with rotate function)
6th Dec 2018, 3:40 PM
KrOW
KrOW - avatar
+ 3
... and see here for much more details about transform https://developer.mozilla.org/en-US/docs/Web/SVG/Attribute/transform
6th Dec 2018, 3:57 PM
KrOW
KrOW - avatar
+ 3
I like this... Make sure to read on link that i posted and you would obtain very beautiful and complex effects 😉 Happy learning 👍👍👍
6th Dec 2018, 4:01 PM
KrOW
KrOW - avatar
+ 2
Try transform='rotate(20)'
6th Dec 2018, 3:55 PM
KrOW
KrOW - avatar
+ 1
Thanks for responding.
6th Dec 2018, 3:45 PM
Syamala Gowri
Syamala Gowri - avatar
+ 1
In <rect> element i gave transform="20".But it wasn't tilted.Instead it is showing some error.
6th Dec 2018, 3:50 PM
Syamala Gowri
Syamala Gowri - avatar
+ 1
Sure
6th Dec 2018, 4:04 PM
Syamala Gowri
Syamala Gowri - avatar