[]
Determines if the one rectangular region is entirely contained within another structure.
public static bool Contains(this Rect r, Rect rect)
Public Shared Function Contains(r As Rect, rect As Rect) As Boolean
| Type | Name | Description |
|---|---|---|
| Rect | r | One rectangle to test. |
| Rect | rect | Another rectangle. |
| Type | Description |
|---|---|
| bool | This method returns true if the rectangular region represented by |