When I use c (curving) for path or other options , it shows error. How to use them? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2

When I use c (curving) for path or other options , it shows error. How to use them?

9th Aug 2018, 6:37 PM
Armann
Armann - avatar
3 Answers
+ 2
Could you show us the code? If not: 1. C -- requires 6 parameters Q -- 4 L -- etc. 2. The syntax for path is: <!-- EXAMPLE --> <svg> <path d="M0 0, L15 30, C20 30 50 35 60 70 Z"></path> </svg> For more visit the HTML5 course.
9th Aug 2018, 6:47 PM
Ledio Deda
Ledio Deda - avatar
+ 2
Lεd10 Dεda isn't it about x and y ? then why you used many of them for c ? can I use it in 3d version?
9th Aug 2018, 6:53 PM
Armann
Armann - avatar
+ 2
You can check this explaination: https://developer.mozilla.org/en-US/docs/Web/SVG/Tutorial/Paths It shows what is the purpose of each of 6 parameters at C(cubic bezier)...
9th Aug 2018, 6:57 PM
Ledio Deda
Ledio Deda - avatar