'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)'

@property
def pinch(self):

    @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
