Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What does "C" mean in an SVG path?

Tags:

svg

path fill="none" stroke="#000000" d="M151.5,85.5c0-36.48,29.52-66,66-66"

Can anyone explain d="" in detail? I'm able to understand M tag but I can't understand what C tag is? and the details: c0-36.48,29.52-66,66-66

like image 671
Ravi Teja Avatar asked Apr 01 '10 16:04

Ravi Teja


2 Answers

Check the spec. The c is a curve command.

like image 50
NG. Avatar answered Sep 22 '22 04:09

NG.


c means the basier curve and then you get three coordinates for B C and D point of the curve the A point is the last point that the line graphic end drawn before calling "c"

like image 34
Nali Avatar answered Sep 20 '22 04:09

Nali