Skip to content

Commit

Permalink
Document polygon width parameter
Browse files Browse the repository at this point in the history
  • Loading branch information
radarhere committed Nov 21, 2021
1 parent b703846 commit db6e751
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion docs/reference/ImageDraw.rst
Expand Up @@ -242,7 +242,7 @@ Methods
numeric values like ``[x, y, x, y, ...]``.
:param fill: Color to use for the point.

.. py:method:: ImageDraw.polygon(xy, fill=None, outline=None)
.. py:method:: ImageDraw.polygon(xy, fill=None, outline=None, width=1)
Draws a polygon.

Expand All @@ -254,6 +254,7 @@ Methods
numeric values like ``[x, y, x, y, ...]``.
:param fill: Color to use for the fill.
:param outline: Color to use for the outline.
:param width: The line width, in pixels.


.. py:method:: ImageDraw.regular_polygon(bounding_circle, n_sides, rotation=0, fill=None, outline=None)
Expand Down

0 comments on commit db6e751

Please sign in to comment.