double intersectionArea(Rect other) { final i = intersection(other); return i == null ? 0.0 : i.width * i.height; }