Create a SVG path

DESCRIPTION: A simple example of creating a SVG path. EXPLANATION FOR THE PARAMETERS: M = moveto L = lineto H = horizontal lineto V = vertical lineto C = curveto S = smooth curveto Q = quadratic Bézier curve T = smooth quadratic Bézier curveto A = elliptical Arc Z = closepath
<!DOCTYPE HTML>
<html>
  <head>
    <style>
      body {
        margin: 0px;
        padding: 0px;
      }
    </style>
  </head>
  <body>

    <svg mlns="http://www.w3.org/2000/svg" height="210" width="400">
      <path stroke="black" stroke-width="3" fill="green" d="M60 0 L75 130 L225 200 Z" />
    </svg>

  </body>
</html>

Responses

0 Replies