beginStroke(x, y) {
    this.#context.moveTo(x, y);
    this.#thickness = this.#weight;

    if (this.recordStrokes) {
      this.strokeTimestamp = performance.now();
    }

    this.dispatchEvent('strokestart', { x, y });
  }
Begins a stroke at a given position

@param {number} x
@param {number} y