svgTarget.getTopElement(SVGTarget.TOP_EDGES).appendChild(selfLoopElem);
} else if (renderTarget instanceof PDFTarget) {
PDFTarget pdfTarget = (PDFTarget) renderTarget;
PdfContentByte cb = pdfTarget.getContentByte();
cb.moveTo(x, -y);
cb.curveTo(v1.x, -v1.y, v2.x, -v2.y, x, -y);
cb.setRGBColorStroke(color.getRed(), color.getGreen(), color.getBlue());
cb.setLineWidth(thickness);
if (color.getAlpha() < 255) {
cb.saveState();
float alpha = color.getAlpha() / 255f;