| 1 |
<?xml version="1.0" standalone="no"?> |
| 2 |
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" |
| 3 |
"http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"> |
| 4 |
<svg width="12cm" height="4cm" viewBox="0 0 1200 400" |
| 5 |
xmlns="http://www.w3.org/2000/svg" version="1.1"> |
| 6 |
<desc>Example polygon01 - star and hexagon</desc> |
| 7 |
|
| 8 |
<!-- Show outline of canvas using 'rect' element --> |
| 9 |
<rect x="1" y="1" width="1198" height="398" |
| 10 |
fill="none" stroke="blue" stroke-width="2" /> |
| 11 |
|
| 12 |
<polygon fill="red" stroke="blue" stroke-width="10" |
| 13 |
points="350,75 379,161 469,161 397,215 |
| 14 |
423,301 350,250 277,301 303,215 |
| 15 |
231,161 321,161" /> |
| 16 |
<polygon fill="lime" stroke="blue" stroke-width="10" |
| 17 |
points="850,75 958,137.5 958,262.5 |
| 18 |
850,325 742,262.6 742,137.5" /> |
| 19 |
</svg> |
| 20 |
|