_getPathPoints(el, length) {
    let arr = [];

    for (let i = 0; i < length; i++) {
      let position = el.getPointAtLength(i);

      arr.push({
        x: position.x,
        y: position.y
      });
    }
    return arr;
  }
_getPathPoints
Responsible for returning a svg path coords.
@return {array} path coords