code: def pinch(self):
          '''
          Perform two point gesture from edge to center(in) or center to edge(out).
          Usages:
          d().pinch.In(percent=100, steps=10)
          d().pinch.Out(percent=100, steps=100)
          '''
          @param_to_property(in_or_out=["In", "Out"])
          def _pinch(in_or_out="Out", percent=100, steps=50):
              if in_or_out in ["Out", "out"]:
                  return self.jsonrpc.pinchOut(self.selector, percent, steps)
              elif in_or_out in ["In", "in"]:
                  return self.jsonrpc.pinchIn(self.selector, percent, steps)
          return _pincf pinch(self):
          '''
          Perform two point gesture from edge to center(in) or center to edge(out).
          Usages:
          d().pinch.In(percent=100, steps=10)
          d().pinch.Out(percent=100, steps=100)
          '''
          @param_to_property(in_or_out=["In", "Out"])
          def _pinch(in_or_out="Out", percent=100, steps=50):
              if in_or_out in ["Out", "out"]:
                  return self.jsonrpc.pinchOut(self.selector, percent, steps)
              elif in_or_out in ["In", "in"]:
                  return self.jsonrpc.pinchIn(self.selector, percent, steps)
          return _pinch
docs: Perform two point gesture from edge to center(in) or center to edge(out).
          Usages:
          d().pinch.In(percent=100, steps=10)
          d().pinch.Out(percent=100, steps=100)