Node: Clearing Solids, Previous: Drawing and Filling Solids, Up: Solid Reference


void clear (void) Virtual function
Calls clear() on all the Shapes belonging to the Solid. Used in Picture::clear() for deallocating and destroying Solids.

Currently, <Shape>.clear() always resolves to Path::clear(), since none of the other types of Shape that a Solid can contain, e.g., Ellipse, Circle, etc., overloads Path::clear().