figure.setOrientation(((XFigure) presentationFigure).getOrientation());
}
if (presentationFigure instanceof XRoundRectangleFigure)
{
XRoundRectangleFigure sourceRR = (XRoundRectangleFigure) presentationFigure;
XRoundRectangleFigure targetRR = (XRoundRectangleFigure) figure;
targetRR.setArcWidth(sourceRR.getArcWidth());
targetRR.setArcHeight(sourceRR.getArcHeight());
}
return figure;
}
}