paint(config) {
    // update playback arguments
    Object.assign(this.config, config);
    this._updateDuration();

    this.erase();

    // begin animation
    this._paint();

    // fire start callback
    this.emit(CALLBACK.START);
  }
paint
Responsible for drawing path.
@public