How to use animated SVG files using SvgRenderer

42 views
Skip to first unread message

Indra kumar

unread,
May 17, 2012, 3:18:35 AM5/17/12
to pys...@googlegroups.com

Hi,

I am trying to load svg file using SvgRenderer class. I am able to load the svg file properly.
But how do we use those animated effects in the window.

for ex:-
I have one animated rect in svg file as shown below.
<rect   fill="green"  id="diff"   width="200"        height="100"        x="20"        y="50" >
     <animate attributeName="fill" from="green" to="purple" dur="3s" begin="mouseover" />
</rect>

So can anyone please send me one example how to use that animated effect using this class.

Thanks,
Indra
Reply all
Reply to author
Forward
0 new messages