mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-05-02 23:13:40 +03:00
Improved documention of "corners" argument for rounded_rectangle
This commit is contained in:
parent
8f3ccff8f2
commit
187e9a46af
|
@ -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