mirror of
https://github.com/python-pillow/Pillow.git
synced 2024-12-25 17:36:18 +03:00
Do not pass outline to arc
This commit is contained in:
parent
db5c4fbb2c
commit
b84e2a9935
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue
Block a user