Rectangle.IntersectsWith Method
.NET Framework 1.1
Determines if this rectangle intersects with rect.
[Visual Basic] Public Function IntersectsWith( _ ByVal rect As Rectangle _ ) As Boolean [C#] public bool IntersectsWith( Rectangle rect ); [C++] public: bool IntersectsWith( Rectangle rect ); [JScript] public function IntersectsWith( rect : Rectangle ) : Boolean;
Parameters
- rect
- The rectangle to test.
Return Value
This method returns true if there is any intersection.
Requirements
Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, .NET Compact Framework
See Also
Rectangle Structure | Rectangle Members | System.Drawing Namespace