RectUtils
Utilities for rectangle selections.
Read time 1 minuteLast updated 6 days ago
Definition
- Type: Class
- Namespace: UnityEditor.Experimental.GraphView
- Assembly: UnityEditor
public class RectUtils
Constructors
Constructor | Description |
|---|---|
| RectUtils() | RectUtils' constructor. |
Static Methods
Method | Description |
|---|---|
| Encompass | Create rectangle that encompasses two rectangles. |
| Inflate | Creates and returns an enlarged copy of the specified rectangle. The copy is enlarged by the specified amounts. |
| IntersectsSegment | Check if a line segment overlaps a rectangle. |