clear method

void clear()

Clears the signature strokes in RenderSignaturePad.

Implementation

void clear() {
  _data.clear();
  _dotPoints.clear();
  _bezierPoints.clear();
  _pathCollection.clear();
  _reset();
  _currentPath = Path();
  markNeedsPaint();
}