You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
tdegraphics/ksvg/test/colortest.svg

19 lines
775 B

<?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>