Class RectUtils
  
  
  
  
  
  
  Assembly: UnityEditor.dll
  Syntax
  
  Methods
  
  
    |
    Improve this Doc
  
  
    View Source
  
  
  Encompass(Rect, Rect)
  
  
  Declaration
  
    public static Rect Encompass(Rect a, Rect b)
   
  Parameters
  
  Returns
  
  
    |
    Improve this Doc
  
  
    View Source
  
  
  Inflate(Rect, Single, Single, Single, Single)
  
  
  Declaration
  
    public static Rect Inflate(Rect a, float left, float top, float right, float bottom)
   
  Parameters
  
  Returns
  
  
    |
    Improve this Doc
  
  
    View Source
  
  
  IntersectsSegment(Rect, Vector2, Vector2)
  
  
  Declaration
  
    public static bool IntersectsSegment(Rect rect, Vector2 p1, Vector2 p2)
   
  Parameters
  
  Returns
  
  Extension Methods