ptObjToArrMethod = function (type, segItem) {
  const segData = svgCanvas.getSegData()
  const props = segData[type]
  return props.map((prop) => {
    return segItem[prop]
  })
}
@function module:path.ptObjToArr
@todo See if this should just live in `replacePathSeg`
@param {string} type
@param {SVGPathSegMovetoAbs|SVGPathSegLinetoAbs|SVGPathSegCurvetoCubicAbs|SVGPathSegCurvetoQuadraticAbs|SVGPathSegArcAbs|SVGPathSegLinetoHorizontalAbs|SVGPathSegLinetoVerticalAbs|SVGPathSegCurvetoCubicSmoothAbs|SVGPathSegCurvetoQuadraticSmoothAbs} segItem
@returns {ArgumentsArray}