Rect.equals Method

Indicates whether the specified rectangle is equal to the current rectangle.