12/5. feladat megoldása


<?xml version="1.0"?>

<!DOCTYPE svg PUBLIC "-//W3//DTD SVG 1.1//EN"
	"http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">

<svg xmlns= "http://www.w3.org/2000/svg"
     xmlns:xlink= "http://www.w3.org/1999/xlink"
     version="1.1" width="200" height="200">

<style type="text/css">
<![CDATA[

circle {fill: none;
         stroke: blue;}

rect {stroke: orange;
      stroke-width: 3;}

circle.zold {fill: green;}

.altalanos {stroke: yellow;
            stroke-width: 5;
            fill-opacity: 0.5}

]]>
</style>

<rect class="zold" x="20" y="50" width="30" height="40"/>
<rect class="altalanos" x="120" y="50" width="10" height="70"/>
<rect x="50" y="130" width="40" height="40"/>

<circle class="zold" cx="170" cy="170" r="20"/>
<circle class="altalanos" cx="90" cy="20" r="10"/>
<circle class="zold altalanos" cx="160" cy="30" r="15"/>

</svg>