From fdbd2d87843e3d3391e7bb0373aa7062088b4848 Mon Sep 17 00:00:00 2001 From: Andrew Murray Date: Mon, 11 Jul 2022 11:01:51 +1000 Subject: [PATCH] Document box values --- src/PIL/PSDraw.py | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/src/PIL/PSDraw.py b/src/PIL/PSDraw.py index 7d652020a6a..406cbf51db8 100644 --- a/src/PIL/PSDraw.py +++ b/src/PIL/PSDraw.py @@ -86,14 +86,8 @@ def rectangle(self, box): """ Draws a rectangle. - :param box: A 4-tuple of integers whose order and function is currently - undocumented. - - Hint: the tuple is passed into this format string: - - .. code-block:: python - - %d %d M 0 %d %d Vr\n + :param box: A 4-tuple of integers, specifying left, bottom, width and + height. """ self.fp.write(b"%d %d M 0 %d %d Vr\n" % box)