I have further investigated the issue and have observed the issue. If rotation angle is greater than 180 then rotated shape angle rendered by Aspose.Slides is coming to be mirror angle of what is added. Like rotation angle of 240 (=270 -30) is rotated to angle to 300 (=270 +30) by Aspose.Slides. An issue with ID SLIDESJAVA-33147 has been created in our issue tracking system to further investigate and resolve the issue. This thread has been linked with the issue so that you may be automatically notified once the issue will be resolved. I have created a work around approach for you that will certainly help you for the time being.
Presentation preso = new Presentation();
Slide slide = preso.addEmptySlide();
System.out.println(“The slide layout is " + slide.getLayout());
Shapes shapes = slide.getShapes();
Ellipse oval = shapes.addEllipse(200, 300, 400, 500);
if(angle >180 && angle <360)