Moved rounded_rectangle to API additions [ci skip]

This commit is contained in:
Andrew Murray 2021-03-20 08:32:39 +11:00
parent 7a32dfd5e3
commit 309d6f662c

View File

@ -21,6 +21,9 @@ accepts negative co-ordinates, like the upper left corner of the ``box`` argumen
:py:meth:`~PIL.Image.Image.paste` can be negative. Naturally, this has effect of
cropping the overlaid image.
API Additions
=============
ImageDraw.rounded_rectangle
^^^^^^^^^^^^^^^^^^^^^^^^^^^
@ -36,9 +39,6 @@ create a circle, but not any other ellipse.
draw = ImageDraw.Draw(im)
draw.rounded_rectangle(xy=(10, 20, 190, 180), radius=30, fill="red")
API Additions
=============
ImageShow.IPythonViewer
^^^^^^^^^^^^^^^^^^^^^^^