summaryrefslogtreecommitdiffstats
path: root/ksvg/test/colortest.svg
blob: a237e591f84e0ae86f283a850880b48483ecb5f3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
<?xml version="1.0" standalone="no"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 20010719//EN" 
  "http://www.w3.org/TR/2001/PR-SVG-20010719/DTD/svg10.dtd">
<svg width="8cm" height="3cm"  viewBox="0 0 800 300">
  <rect x="1" y="1" width="798" height="298" 
        fill="none" stroke="blue" stroke-width="2" />
  <rect id="RectElement" x="300" y="100" width="300" height="100"
	  fill="rgb(0,0,255)" stroke="rgb(128,0,0)" stroke-width="0.7cm">
	  
	  <animateColor attributeName="fill" attributeType="CSS"
           from="rgb(0,0,255)" to="rgb(128,0,0)"
		   begin="1s" dur="6s" fill="freeze" />
      <animateColor attributeName="stroke" attributeType="CSS"
		  from="rgb(128,0,0)" to="rgb(0,0,255)"
		   begin="1s" dur="6s" fill="freeze" />

  </rect>
</svg>