toMultiSegmentPathList() {
    const paths = [];

    const group = this.getGroup();
    group.forEach((group) => {
      group.segments.forEach((s, index) => {
        const prevSegment = group.segments[index - 1];
        const lastValues = prevSegment?.segment?.values || [];
        const lastX = lastValues[lastValues.length - 2];
        const lastY = lastValues[lastValues.length - 1];
        const values = s.segment.values;

        if (s.segment.command === "M") {
          // NOOP
        } else if (s.segment.command === "L") {
          paths.push(
            new PathParser(`M ${lastX} ${lastY}L ${values.join(" ")}`)
          );
        } else if (s.segment.command === "C") {
          paths.push(
            new PathParser(`M ${lastX} ${lastY}C ${values.join(" ")}`)
          );
        } else if (s.segment.command === "Q") {
          paths.push(
            new PathParser(`M ${lastX} ${lastY}Q ${values.join(" ")}`)
          );
        } else {
          // NOOP
        }
      });
    });

    return paths;
  }
convert to multi segment path list