Draw a circle given its center and radius.
(self, center: point_like, radius: float)
| 3211 | return self.lastPoint |
| 3212 | |
| 3213 | def draw_circle(self, center: point_like, radius: float) -> Point: |
| 3214 | """Draw a circle given its center and radius.""" |
| 3215 | if not radius > EPSILON: |
| 3216 | raise ValueError("radius must be positive") |
| 3217 | center = Point(center) |
| 3218 | p1 = center - (radius, 0) |
| 3219 | return self.draw_sector(center, p1, 360, fullSector=False) |
| 3220 | |
| 3221 | def draw_curve( |
| 3222 | self, |
no test coverage detected