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

All > SVG > Text > text-text-BE-01


File: text-text-BE-01
Author: Shenxue Zhou
Origin: W3C SVG conformance suite

Rendered imageSVG source
ElementsAttributes
axlink:href |
descid |
gid | style |
pathd | 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">text-text-BE-01</title>
     <desc id="test-desc">Test for basic capability to handle 'text' elements and text properties.</desc>
     <g id="test-body-content">
          <text x="19" y="61" style="font-size:16;font-family:Verdana;fill:blue;">Plain Text</text>
          <text x="142" y="61" style="font-size:16;font-family:Verdana;font-style:italic;fill:blue;">Italic text</text>
          <text x="257" y="60" style="font-size:16;font-family:Verdana;font-weight:bold;fill:blue;">Bold Text</text>
          <text x="224" y="110" style="font-size:16;font-family:Verdana;fill:blue;text-decoration:underline;">Underline Text</text>
          <text x="39" y="147" style="font-size:16;font-family:Verdana;fill:red;text-decoration:line-through;">Line through text</text>
          <text x="80" y="200" style="font-size:16;font-family:Verdana;font-style:italic;font-weight:bold;fill:black;text-decoration:underline;">Bold, italic and underlined text</text>
          <g>
               <rect x="50" y="262.6" width="157.4" height="54.4" style="fill:none;stroke:black;stroke-width:2;"/>
               <g>
                    <text x="52" y="275" style="font-size:9;font-family:Helvetica;fill:black;">Text which flows in a rectangular box.</text>
                    <text x="52" y="286" style="font-size:9;font-family:Helvetica;fill:black;">We need to break the text into sepa-</text>
                    <text x="52" y="296.75" style="font-size:9;font-family:Helvetica;fill:black;">rate lines and use a text element with</text>
                    <text x="52" y="307.55" style="font-size:9;font-family:Helvetica;fill:black;">x,y attributes for each line of text.</text>
               </g>
          </g>
     </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">text-text-BE-01</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