mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-01-13 10:46:16 +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)
|
path.transform(self.transform)
|
||||||
xy = path
|
xy = path
|
||||||
# render the item
|
# 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)
|
self.draw.line(xy, fill=outline, width=width)
|
||||||
else:
|
else:
|
||||||
getattr(self.draw, op)(xy, fill=fill, outline=outline)
|
getattr(self.draw, op)(xy, fill=fill, outline=outline)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user