Praeclarum.Graphics.Rectangle.IntersectsWith C# (CSharp) Method

IntersectsWith() public method

public IntersectsWith ( Rectangle rect ) : bool
rect Rectangle
return bool
		public bool IntersectsWith (Rectangle rect)
		{
			return !((Left >= rect.Right) || (Right <= rect.Left) ||
			         (Top >= rect.Bottom) || (Bottom <= rect.Top));
		}