Specifies a rectangle on the screen.
Rectangle does not derive from any class, and no classes derive from it.
public class Rectangle
Public Class Rectangle
| Name | Description |
|---|---|
| Contains(Rectangle) | Determines whether the current Rectangle contains the specified Rectangle. Boolean |
| Contains(Point) | Determines whether the current Rectangle contains the specified Point. Boolean |
| Contains(X,Y) | Determines whether the current Rectangle contains the specified coordinates. Boolean |