def __mul__(self,val):
        if isinstance(val,float) or isinstance(val,int): 
            return Rect(self.x*val,self.y*val,self.w*val,self.h*val)
Multiply the rectangle by a constant.
dataset/ETHPy150Open bolme/pyvision/src/pyvision/types/Rect.py/Rect.__mul__