[]
Determines if this rectangle intersects with rect.
public static bool IntersectsWith(this Rect r, Rect rect)
Type | Name | Description |
---|---|---|
Rect | r | One rectangle to test. |
Rect | rect | Another rectangle to test. |
Type | Description |
---|---|
bool | This method returns true if there is any intersection, otherwise false. |