Thread: Dojo DojoX GFX problem
View Single Post
Old 08-05-2009, 06:12 PM   PM User | #1
theuser
New to the CF scene

 
Join Date: Aug 2009
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
theuser is an unknown quantity at this point
Question DojoX GFX problem

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:
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.
theuser is offline   Reply With Quote