setTextAnchorMethod = (value) => {
  const selectedElements = svgCanvas.getSelectedElements()
  const textElements = selectedElements.filter(el => el?.tagName === 'text')
  svgCanvas.changeSelectedAttribute('text-anchor', value, textElements)
}
@function module:svgcanvas.SvgCanvas#setTextAnchorMethod Set the new text anchor
@param {string} value - The text anchor value (start, middle or end)
@returns {void}