13/6. 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="300">

<ellipse cx="100" cy="100" rx="70" ry="40" style="fill: purple;">
	<animateColor attributeType="CSS"
		      attributeName="fill"
		      begin="1s" dur="3s"
		      from="purple" to="lightgreen"
		      fill="freeze"/>
	<animateTransform attributeType="XML"
			  attributeName="transform"
			  type="rotate"
			  from="0,100,100" to="90,100,100"
			  begin="1s" dur="3s"
			  fill="freeze"
			  additive="sum"/>
	<animateTransform attributeType="XML"
			  attributeName="transform"
			  type="translate"
			  from="0" to="100"
			  begin="1s" dur="3s"
			  fill="freeze"
			  additive="sum"/>
</ellipse>

</svg>