RectExtensions.Encapsulate
Extension Method in RectExtensions
Declaration
public static void Encapsulate(this ref Rect rect, Rect other)
Description
Grows the rect to fully encapsulate another rect.
Parameters
rect | The rect to grow. |
other | The rect to encapsulate. |