RectangleRestrict Method | 
| Name | Description | |
|---|---|---|
| Restrict(Rectangle) | 
            Restricts the rectangle to be within the specified rectangle  | |
| Restrict(Size) | 
            Restricts the rectangle to be within the specified size at an X,Y location of 0, 0
              | |
| Restrict(Point, Size) | 
            Restricts the rectangle to be within the specified location and size  | |
| Restrict(Rectangle, Rectangle) | 
            Restricts the rectangle to be within the restrict rectangle
              | |
| Restrict(Rectangle, Size) | 
            Restricts the rectangle to be within the specified size  |