clear method

void clear()

Clear the entire rendering surface.

Implementation

void clear() {
  final updateBatch = BitmapDataUpdateBatch(this);
  updateBatch.clear();
  updateBatch.update();
}