I create a circle with this method:
var yMinCir = height - 1515.80/2.667+8.5;
var yMaxCir = height - 1545.80/2.667+8.5;
var myCircle = page.ovals.add({geometricBounds:[yMinCir, 1312.63/2.667+8.5, yMaxCir, 1342.63/2.667+8.5]});
Is there a way to recover the center by doing for example :
var centerOfMyCircle = myCircle.center;
Or does it have to be calculated ? If yes, how ?
I searched everywhere but I did not find anything..
Thank you in advance for your help !
You can get the geometricBounds of the object (the same you are setting). Then the center of your circle will be