Property | Type | Description | |
---|---|---|---|
Bottom | int | ||
Left | int | ||
Right | int | ||
Top | int |
Method | Description | |
---|---|---|
Contains ( Point point ) : bool |
Returns whether the specified point is contained within the bounds of the rectangle.
|
|
Rectangle ( int l, int r, int t, int b ) : System |
Initializes a new rectangle with the specified coordinates.
|
|
ToString ( ) : string |
Returns a string representation of this Rectangle object.
|
public Contains ( Point point ) : bool | ||
point | Point | The point to test. |
return | bool |
public Rectangle ( int l, int r, int t, int b ) : System | ||
l | int | The left bound. |
r | int | The right bound. |
t | int | The top bound. |
b | int | The bottom bound. |
return | System |