static Int rectCenterY(Rect r) { ret r == null ? null : r.y+r.h/2; }