1. override
void beginPath()

Source

@override
void beginPath() {
  _path = new _GraphicsPath();
}