+ 2
How to draw a curveline in HTM5 svg?
I tried to find the lesson about how to do this in SoloLearn but i couldn't find such. Please tell me the syntax.
4 ответов
+ 5
I don't know much SVG syntax myself, apologies for that. But I did find a great learning resource for anyone like us to take a look at. :-)
https://developer.mozilla.org/en-US/docs/Web/SVG/Tutorial
Also, Adobe Illustrator allows you to export your artwork directly to SVG, so this could be a much faster alternative if you like.
Hope this helps, good luck!
+ 2
Thank you a lot. May God bless you.
+ 2
they are made with path
<path // define coordinates here
there are three types of curves one simple arc with single control at middle then quadratic and one cubic bezier
if you want simple arc curve then it takes two arguments A rx ry x-axis-rotation large-arc-flag sweep-flag x y
a rx ry x-axis-rotation large-arc-flag sweep-flag dx dy