mirror of
https://github.com/python-pillow/Pillow.git
synced 2024-12-26 01:46:18 +03:00
Moved rounded_rectangle to API additions [ci skip]
This commit is contained in:
parent
7a32dfd5e3
commit
309d6f662c
|
@ -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
|
||||
^^^^^^^^^^^^^^^^^^^^^^^
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user