public bool IntersectsWith(IntRect rect) { return(!((Left >= rect.Right) || (Right <= rect.Left) || (Top >= rect.Bottom) || (Bottom <= rect.Top))); }
public static bool Equals(IntRect rect1, IntRect rect2) { return(rect1.Equals(rect2)); }
public static IntRect Inflate(IntRect rect, Int2 size) { return(Inflate(rect, size.x, size.y)); }