Skip to content

Commit

Permalink
Merge pull request #7211 from radarhere/rounded_rectangle
Browse files Browse the repository at this point in the history
  • Loading branch information
hugovk committed Jun 14, 2023
2 parents 76a8e9c + 187e9a4 commit 2aacab1
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 2aacab1

Please sign in to comment.