Source of linePoly.svg


<svg>
<desc>
demonstrates lines, polylines, and polygons
</desc>

<line x1 = "10" y1 = "10"
      x2 = "50" y2 = "50"
      stroke = "green"
      stroke-width = "8" />
<desc>
the next shape 'borrowed' from SVG specs
</desc>

<polyline fill="none" 
          stroke="blue" 
          stroke-width="10" 
          points="50,375
                  150,375 150,325 250,325 250,375
                  350,375 350,250 450,250 450,375
                  550,375 550,175 650,175 650,375
                  750,375 750,100 850,100 850,375
                  950,375 950,25 1050,25 1050,375
                  1150,375" />

<g transform= "scale(.5)">
  <desc>
  next shape also borrowed, and scaled by 1/2 to fit better
  </desc>

  <polygon fill="red" 
           stroke="blue" 
           stroke-width="10" 
           points="350,75  379,161 469,161 397,215
                   423,301 350,250 277,301 303,215
                   231,161 321,161" />
</g>

</svg>