Á¦5Àå. SVG Path

<path> ¿ä¼Ò

cubic Bezier curve


(x1 y1)Àº ÀÚµ¿À¸·Î °è»ê 
- x2 y2 ¸¸ ÁöÁ¤

¿¹) S 400 300 400 200 





x1 y1 : 250 300 ÀÚµ¿°è»ê(û»öÁ¡)
x2 y2 (ȸ»öÁ¡)
x y (Èò»ö-³¡Á¡)
<svg width="5cm" height="4cm" viewBox="0 0 500 400">
   <style type="text/css"><![CDATA[
      .Border { fill:none; stroke:blue; stroke-width:1 }
      .Connect { fill:none; stroke:#888888; stroke-width:2 }
      .SamplePath { fill:none; stroke:red; stroke-width:5 }
      .EndPoint { fill:none; stroke:#888888; stroke-width:2 }
      .CtlPoint { fill:#888888; stroke:none }
      .AutoCtlPoint { fill:none; stroke:blue; stroke-width:4 }
      .Label { font-size:22; font-family:Verdana }
      ]]>
   </style>

   <rect class="Border" x="1" y="1" width="498" height="398" />

   <polyline class="Connect" points="100,200 100,100" />
   <polyline class="Connect" points="250,100 250,200" />
   <polyline  . . .  /> <polyline  . . . 400,200" />
   <path class="SamplePath" d="M100,200 C100,100 250,100 250,200 S400,300 400,200" />

   <circle class="EndPoint" cx="100" cy="200" r="10" />
   <circle  . . .  /> <circle   . . .  />
   <circle class="CtlPoint" cx="100" cy="100" r="10" />
   <circle   . . .   /> <circle   . . .   />
   <circle class="AutoCtlPoint" cx="250" cy="300" r="9" />
   <text class="Label" x="25" y="70">M100,200 C100,100 250,100 250,200</text>
   <text class="Label" x="325" y="350"> S400,300 400,200</text>
</svg>

Quadratic Bezier curve

Elliptical Arc