Login Register

move

SVG

Is it possible to dynamically move a svg shape e.g. rectangle to another position. I have tried the fx method with no luck...

dojo.fx.chain([
  dojox.fx.slideBy({ node: group.getNode(), top:100, left:100, duration:400 }),
  dojox.fx.slideBy({ node: group.getNode(), top:50, left:-50, duration:400 })
]).play();

but this does not work, also i made the group movable new dojox.gfx.Moveable(group); but this did not make a difference.

Anyone have any ideas?

Syndicate content