@Override
	public void render() {
		textPath = (SVGOMTextPathElement) text.getElementsByTagName("textPath").item(0);
		if(isMarked()){
			textPath.setAttribute("style", "fill:red");
		} else {
			textPath.setAttribute("style", "");
		}
		textPath.setAttribute("startOffset", percentage+"%");
		Node pathClone = textPath.cloneNode(true);
		text.removeChild(textPath);
		text.appendChild(pathClone);
		this.textPath = (SVGOMTextPathElement) pathClone;
	}