Java code to draw ellipse around face

x and y correspond to the top-left vertex of the rectangle. Given that the function you’ve specified takes only 4 parameters, I’m guessing it is an upright ellipse that you’re drawing.

If you’ve found the code to draw rectangles around faces, then you should be able to extract (x,y) from there itself

Leave a Comment