class_docstr: Sets up printing to the given file. If ``fp`` is omitted,
  ``sys.stdout.buffer`` or ``sys.stdout`` is assumed.
class_docstr_tok: ["Sets","up","printing","to","the","given","file",".","If","``","fp","``","is","omitted",",","``","sys.stdout.buffer","``","or","``","sys.stdout","``","is","assumed","."]
docstr: Draws a rectangle.
  
  :param box: A tuple of four integers, specifying left, bottom, width and
     height.
docstr_tok: ["Draws","a","rectangle",".",":","param","box",":","A","tuple","of","four","integers",",","specifying","left",",","bottom",",","width","and","height","."]
code: def rectangle(self, box):
      """
      Draws a rectangle.
  
      :param box: A tuple of four integers, specifying left, bottom, width and
         height.
      """
      self.fp.write(b"%d %d M 0 %d %d Vr\n" % box)
  
file_path: pillow/src/PIL/PSDraw.py
imports: from __future__ import annotations
  import sys
  from .None import EpsImagePlugin
label_desc: Use image node_id 6 for calling the PSDraw obj's underlying member method code with example usage: obj.rectangle(box) without return types