On Thursday 24 January 2002 18:24, David Smith wrote: > Dear all, > > Its easy enough to set an SVGDocument to a JSVGCanvas, but how can you > blank the canvas without making a new blank svg document and replacing > whats there..? > > > Ive tried canvas.setSVGDocument(null) but it throws an error)
You are right, JSVGCanvas does not provide a way to clear the screen. If you think it's a bug, please add a bug report (using bugzilla). Then, to have a quick fix, you can subclass the JSVGCanvas and implement that feature. A contribution of your code is also welcome :) Thierry. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
