The rect type exposes the following members.
Constructors
Name | Description | |
---|---|---|
rect |
Creates a new rectangle
|
Methods
Name | Description | |
---|---|---|
Combine(rect) |
Adds the area of a second rectangle to current rectangle
| |
Combine(rect, rect) |
Returns the combination of two rectangles
| |
Contains(point) |
Checks if a point is inside the rectangle
| |
Contains(Int32, Int32) |
Checks if a point is inside the rectangle
| |
Equals | (Inherited from ValueType.) | |
Finalize | (Inherited from Object.) | |
GetHashCode | (Inherited from Object.) | |
GetType | (Inherited from Object.) | |
Intersect |
Returns the intersection of two rectangles
| |
Intersects |
Checks to see if two rectangles intersect
| |
MemberwiseClone | (Inherited from Object.) | |
ToString |
Returns a string that represents the current object.
(Overrides Object..::..ToString()()()().) |
Properties
Name | Description | |
---|---|---|
Height |
Gets/Sets height of rectangle
| |
Width |
Gets/Sets width of rectangle
| |
X |
Gets/Sets x location of rectangle
| |
Y |
Gets/Sets y location of rectangle
|