Skip to content

Commit bdbf59d

Browse files
authored
Merge pull request #6625 from d0sboots/patch-1
2 parents aa8877a + 64d11d9 commit bdbf59d

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

docs/reference/ImageDraw.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -285,8 +285,8 @@ Methods
285285
Draws a rectangle.
286286

287287
:param xy: Two points to define the bounding box. Sequence of either
288-
``[(x0, y0), (x1, y1)]`` or ``[x0, y0, x1, y1]``. The second point
289-
is just outside the drawn rectangle.
288+
``[(x0, y0), (x1, y1)]`` or ``[x0, y0, x1, y1]``. The bounding box
289+
is inclusive of both endpoints.
290290
:param outline: Color to use for the outline.
291291
:param fill: Color to use for the fill.
292292
:param width: The line width, in pixels.
@@ -298,8 +298,8 @@ Methods
298298
Draws a rounded rectangle.
299299

300300
:param xy: Two points to define the bounding box. Sequence of either
301-
``[(x0, y0), (x1, y1)]`` or ``[x0, y0, x1, y1]``. The second point
302-
is just outside the drawn rectangle.
301+
``[(x0, y0), (x1, y1)]`` or ``[x0, y0, x1, y1]``. The bounding box
302+
is inclusive of both endpoints.
303303
:param radius: Radius of the corners.
304304
:param outline: Color to use for the outline.
305305
:param fill: Color to use for the fill.

0 commit comments

Comments
 (0)