static Rect rectMinSize(int minW, int minH, Rect r) { ret r == null ?: rect(r.x, r,y. max(r.w, minW), max(r.h, minH)); }