* @param owner The shape that has the arrow.
* @since 2.0.0
*/
protected void setArrow(final SVGPathElement path, final SVGMarkerElement elt, final IShape owner, final String svgMarker) {
final SVGPathSegList list = path.getSegList();
final SVGPathSegMoveto m = (SVGPathSegMoveto)list.get(0);
final double lineWidth = owner.hasDbleBord() ? owner.getDbleBordSep() + 2.*owner.getThickness() : owner.getThickness();
if(list.size()==2 || list.size()==4) // It may be a bar or a bracket
setArrowBarBracket(path, m, lineWidth, list.get(1), elt, list, svgMarker);
else if(list.size()==5 || list.size()==10)// It may be an arrow or a double arrow