I try to find a solution for drawing ellipses based on the center point, not the upper left corner as it is specified in the constructor of Ellipse2D.Double. As seen in the picture the ellipses should have the same center point and scale, is that somehow possible?

Thanks in advance for your help.
If
(x,y)is the center you want to use and you can only specify the upper left corner, then use the following:If called with the center point and the width and height, this will “transform” your center point to the upper left corner and create an
Ellipse2Dwhich is located just as you want it to be.