static Pt topRightCorner(Rect r) { ret r == null ?: pt(r.x2(), r.y1()); }