mirror of
https://github.com/python-pillow/Pillow.git
synced 2024-12-25 17:36:18 +03:00
Merge pull request #7211 from radarhere/rounded_rectangle
This commit is contained in:
commit
2aacab1809
|
@ -328,7 +328,7 @@ Methods
|
||||||
|
|
||||||
.. versionadded:: 5.3.0
|
.. versionadded:: 5.3.0
|
||||||
|
|
||||||
.. py:method:: ImageDraw.rounded_rectangle(xy, radius=0, fill=None, outline=None, width=1)
|
.. py:method:: ImageDraw.rounded_rectangle(xy, radius=0, fill=None, outline=None, width=1, corners=None)
|
||||||
|
|
||||||
Draws a rounded rectangle.
|
Draws a rounded rectangle.
|
||||||
|
|
||||||
|
@ -341,6 +341,7 @@ Methods
|
||||||
:param width: The line width, in pixels.
|
:param width: The line width, in pixels.
|
||||||
:param corners: A tuple of whether to round each corner,
|
:param corners: A tuple of whether to round each corner,
|
||||||
``(top_left, top_right, bottom_right, bottom_left)``.
|
``(top_left, top_right, bottom_right, bottom_left)``.
|
||||||
|
Keyword-only argument.
|
||||||
|
|
||||||
.. versionadded:: 8.2.0
|
.. versionadded:: 8.2.0
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user