()
| 70 | } |
| 71 | public final boolean equals(Rect r) {return r.tl.equals(tl) && r.br.equals(br);} |
| 72 | public final boolean is_empty() {return (tl.x >= br.x) || (tl.y >= br.y);} |
| 73 | public final void clear() {tl = new Point(); br = new Point();} |
| 74 | public final boolean enclosed_by(Rect r) { |
| 75 | return (tl.x>=r.tl.x) && (tl.y>=r.tl.y) && (br.x<=r.br.x) && (br.y<=r.br.y); |
no outgoing calls
no test coverage detected