final SVGDefsElement defs = doc.getFirstChild().getDefs();
final double rotationAngle = shape.getRotationAngle();
final double startAngle = shape.getAngleStart()%(2.*Math.PI);
final double endAngle = shape.getAngleEnd()%(2.*Math.PI);
final ArcStyle type = shape.getArcStyle();
final SVGElement root = new SVGGElement(doc);
final IPoint start = shape.getStartPoint();
final IPoint end = shape.getEndPoint();
final double radius = shape.getWidth()/2.0;
final boolean largeArcFlag = Math.abs(startAngle-endAngle)>=Math.PI || startAngle>endAngle;