Do not pass outline to arc

This commit is contained in:
Andrew Murray 2024-07-27 18:55:17 +10:00
parent db5c4fbb2c
commit b84e2a9935

View File

@ -101,7 +101,9 @@ class Draw:
path.transform(self.transform)
xy = path
# render the item
if op == "line":
if op == "arc":
self.draw.arc(xy, fill=outline)
elif op == "line":
self.draw.line(xy, fill=outline, width=width)
else:
getattr(self.draw, op)(xy, fill=fill, outline=outline)