Skip to content

Commit

Permalink
Improved documention of "corners" argument for rounded_rectangle
Browse files Browse the repository at this point in the history
  • Loading branch information
radarhere committed Jun 14, 2023
1 parent 8f3ccff commit 187e9a4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion docs/reference/ImageDraw.rst
Original file line number Diff line number Diff line change
Expand Up @@ -328,7 +328,7 @@ Methods

.. 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.

Expand All @@ -341,6 +341,7 @@ Methods
:param width: The line width, in pixels.
:param corners: A tuple of whether to round each corner,
``(top_left, top_right, bottom_right, bottom_left)``.
Keyword-only argument.

.. versionadded:: 8.2.0

Expand Down

0 comments on commit 187e9a4

Please sign in to comment.