rect.equals(r)
Return true if the rectangle equals another rectangle r Return false otherwise.
true
r
false