Login Register

dragging gfx Moveable circles

How to use dojox.gfx.Moveable

The circles example creates each circle and then uses


new dojox.gfx.Moveable(shape3);

to make each circle draggable. How can find out where it has moved to?
If I intercept mouseup


var c3 = shape3.getShape();
var cx = c3.cx;

I find that cx (and cy) has the value of the original position, not the new dragged-to position

Syndicate content