Skip to content

Commit

Permalink
Document box values
Browse files Browse the repository at this point in the history
  • Loading branch information
radarhere committed Jul 11, 2022
1 parent ed98c66 commit fdbd2d8
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions src/PIL/PSDraw.py
Expand Up @@ -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)

Expand Down

0 comments on commit fdbd2d8

Please sign in to comment.