public bool Contains(Rectangle rectangle) { return rectangle.Left >= Left && rectangle.Top >= Top && rectangle.Right <= Right && rectangle.Bottom <= Bottom; }
public bool Overlaps(Rectangle rectangle) { return Left < rectangle.Right && rectangle.Left < Right && Top < rectangle.Bottom && rectangle.Top < Bottom; }
public bool IntersectsWith(Rectangle rect) { return rect.Contains(this); }