Specifically, if you have an ellipse with a given width, height, and x, y coordinates—how can you determine the dimensions and position of the largest possible rectangle that can fit within it?
// eWidth, eHeight, eX, eY are provided values
const ellipse = draw.ellipse(eWidth, eHeight).move(eX, eY);
// rWidth, rHeight, rX, rY are to be determined
const rect = draw.rect(rWidth, rHeight).move(rX, rY);