def CenteredRect(cx,cy,w,h):
    return pv.Rect(cx-0.5*w,cy-0.5*h,w,h)
Specify a rectangle using a center point and a width and height.
dataset/ETHPy150Open bolme/pyvision/src/pyvision/types/Rect.py/CenteredRect