clear method

void clear()

Remove all children. Does not change where you are on the canvas.

Implementation

void clear() {
  _children.clear();
  _spatialHash.clear();
  markDirty();
}