clear method

void clear()

Clears all data associated with this path, effectively resetting it.

Implementation

void clear() {
  _points.clear();
  _lines.clear();
}