Added ImageDraw rounded_rectangle method #5208
Resolves #4765 by adding
def rectangle(self, xy, fill=None, outline=None, width=1):
except with a
def rounded_rectangle(self, xy, radius=0, fill=None, outline=None, width=1):
In this implementation, I limit the radius of the corners so that it is not greater than half of the width or the height - so a rounded rectangle might be a circle, but not another ellipse.
The text was updated successfully, but these errors were encountered: