} else
if (shape instanceof Rectangle2D) {
shapeDesc = "rect(" + shapeDesc + ")";
} else
if (shape instanceof RoundRectangle2D) {
RoundRectangle2D rr = (RoundRectangle2D)shape;
shapeDesc = "round(" + shapeDesc + "," +
doubleToStr(rr.getArcWidth()) + "," +
doubleToStr(rr.getArcHeight()) + ")";
} else
if (shape instanceof Arc2D) {
Arc2D a = (Arc2D)shape;
shapeDesc = "arc(" + shapeDesc + "," +
doubleToStr(a.getAngleStart()) + "," +