/// <summary> /// Checks if this rectangle intersects with another rectangle. /// </summary> public bool IntersectsWith(Rectangle rect) { return !(this.Left > rect.Right || this.Right < rect.Left || this.Top > rect.Bottom || this.Bottom < rect.Top); }
static Rectangle() { Empty = default(Rectangle); }