static IntRange rectXRange(Rect r) { ret r == null ? null : intRange(r.x, r.x2()); }