drawCircle method
Draw a circle with given center and radius.
Equivalent to PyMuPDF's shape.draw_circle().
Implementation
Point drawCircle(Point center, double radius) {
return drawOval(
Rect(
center.x - radius,
center.y - radius,
center.x + radius,
center.y + radius,
),
);
}