PDA

View Full Version : Dojo DojoX GFX problem


theuser
08-05-2009, 06:12 PM
Hello, im using Dojo Toolkit and i have this urgent problem:

How can i delete a line?

I have created the line with this code:

s = dojox.gfx.createSurface("divSurface", 100, 100);
s.createLine({x1:x1,y1:y1,x2:x2,y2:y2}).setStroke({color: "#000000"});

Now i need to remove it.

Any ideas?

Kind regards.