ZVON > References > Zvon Example Repository
Example repository: index | categories | search

All > SVG > Shapes > shapes-polygon-BE-05


File: shapes-polygon-BE-05
Author: Kelvin R. Lawrence
Origin: W3C SVG conformance suite

Rendered imageSVG source
ElementsAttributes
axlink:href |
descid |
gid | style |
pathd | style |
polygonid | points | style |
rectheight | id | style | width | x | y |
svgheight | id | width |
textstyle | x | y |
titleid |

Source

<svg id="svg-root" width="450" height="450" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns="http://www.w3.org/2000/svg" >
     <title id="test-title">shapes-polygon-BE-05</title>
     <desc id="test-desc">Test that viewer has the basic capability to handle the 'polygon' element.</desc>
     <g id="test-body-content">
          <text style="font-family:Helvetica;font-size:12;" x="160" y="14">Basic polygons.</text>
          <polygon id="polygon-01" style="fill:none;stroke:#000000;" points="59,75,95,93,108,135,82,169,39,170,11,137,19,95"/>
          <text style="font-family:Helvetica;font-size:12;" x="32" y="202">stroked</text>
          <polygon id="polygon-02" style="fill:red;" points="179,75,218,93,228,135,202,169,159,170,131,137,139,95,179,75"/>
          <text style="font-family:Helvetica;font-size:12;" x="167" y="202">filled</text>
          <polygon id="polygon-03" style="fill:blue;stroke:black;stroke-width:6;" points="350,75 375,110 410,125 375,140 350,175 325,150 290,125 325,100,350,75"/>
          <text style="font-family:Helvetica;font-size:12;" x="310" y="202">filled & stroked</text>
          <polygon id="polygon-05" style="fill:none;stroke:#0000FF;stroke-width:8;" points="59,225,98,243,108,285,82,319,39,320,11,287,19,245,59,225"/>
          <text style="font-family:Helvetica;font-size:12;" x="36" y="362">stroked</text>
          <polygon id="polygon-06" style="fill:#00FF00;stroke:#0000FF;stroke-width:8;" points="179,225,218,243,228,285,202,319,159,320,131,287,139,245"/>
          <text style="font-family:Helvetica;font-size:12;" x="142" y="362">filled & stroked</text>
          <polygon id="polygon-07" style="fill:none;stroke:#00FF00;stroke-width:8;" points="270,265 300,285 320,265 340,285 280,320 390,320 420,280 280,225"/>
          <text style="font-family:Helvetica;font-size:12;" x="330" y="362">stroked</text>
     </g>
     <g id="test-legend" style="fill:black;font-family:Helvetica;font-size:10;">
          <rect x="10" y="390" width="275" height="50" style="fill:none;stroke:#000000;"/>
          <path style="fill:none;stroke:#000000;" d="M10 405 h275 M205 405 v35 M10 426 h195 M205 422 h80"/>
          <text x="25" y="401">Scalable Vector Graphics (SVG) Conformance Suite</text>
          <a xlink:href="copyright-documents-19990405.html">
               <text x="12" y="437" style="fill:blue;">Copyright 2000 W3C. All Rights Reserved.</text>
          </a>
          <text style="font-size:12;" x="35" y="420">shapes-polygon-BE-05</text>
          <text style="font-size:10;" x="210" y="417">$Revision: 1.1 $</text>
          <text style="font-size:10;" x="210" y="435">Release 2.0</text>
          <rect id="test-frame" x="1" y="1" width="448" height="448" style="fill:none;stroke:#000000;"/>
     </g>
</svg>



Sponsored links: Domain Names, VoIP Internettelefonie, DSL, SDSL, ADSL, UNLIMITED Web Hosting by HostDepartment, conference call service, answering service