isPointInStroke(x, y) {
    const svgEl = this.getCache("svgElement");
    const pathEl = this.getCache("pathElement");

    if (pathEl) {
      const [localX, localY] = this.invertPoint([x, y, 0]);

      const point = svgEl.createSVGPoint();
      Object.assign(point, { x: localX, y: localY });

      return pathEl.isPointInStroke(point);
    }

    return false;
  }
@param {number} x
@param {number} y
@returns {boolean}