clean()
Deletes all SVG elements inside the SVG canvas.
Syntax
clean( cid SMALLINT )
- cid is the SVG canvas id, as returned by
fglsvgcanvas.create()
.
Usage
This function cleans the SVG canvas.
Note: The
clean()
function will not
automatically display the cleaned SVG canvas. To see a visual result, re-display the SVG content
with the display()
function.