PDFDrawEllipse

Use this function to draw an ellipse on a PDF document in the dimensions and colour specified.

function PDFDrawEllipse(color,  color = color or PAGE('PDF_NEW', 'PdfRgbColor', 255, 0, 0)
thickness, thickness = thickness or 1;
int x,
int y,
int width,
int height);

Example:
Draw a circle with a red outline, thickness 2, positioned at (150, 400), diameter 30.
PDFDrawEllipse(PAGE('PDF_NEW', 'PdfRgbColor', 255, 0, 0), 2, 150, 400, 30, 30);