class_docstr: Representation of a rectangular area in a 2D coordinate system.
  
  Parameters
  ----------
  *args : arguments
      Can be in the form `Rect(x, y, w, h)`, `Rect(pos, size)`, or
      `Rect(Rect)`.
docstr: Return a new Rect padded (smaller) by padding on all sides
  
  Parameters
  ----------
  padding : float
      The padding.
  
  Returns
  -------
  rect : instance of Rect
      The padded rectangle.
docstr_tok: ["Return","a","new","Rect","padded","(","smaller",")","by","padding","on","all","sides","Parameters","--","--","--","--","--","padding",":","float","The","padding",".","Returns","--","--","--","-","rect",":","instance","of","Rect","The","padded","rectangle","."]
code: def padded(self, padding):
      """Return a new Rect padded (smaller) by padding on all sides
  
      Parameters
      ----------
      padding : float
          The padding.
  
      Returns
      -------
      rect : instance of Rect
          The padded rectangle.
      """
      return Rect(
          pos=(self.pos[0] + padding, self.pos[1] + padding),
          size=(self.size[0] - 2 * padding, self.size[1] - 2 * padding),
      )
  
imports: import numpy
label_desc: Use image node_id 20 for calling the Rect obj's underlying member method code with example usage: obj.padded(padding) and returns: Rect