Rect Methods
Microsoft Silverlight will reach end of support after October 2021. Learn more.
Include Protected Members
Include Inherited Members
Include Silverlight Members
Include Silverlight for Windows Phone Members
Include XNA Framework Members
The Rect type exposes the following members.
Methods
Name | Description | |
---|---|---|
Contains | Indicates whether the rectangle described by the Rect contains the specified point. | |
Equals(Object) | Indicates whether the specified object is equal to the current Rect. (Overrides ValueType.Equals(Object).) | |
Equals(Rect) | Indicates whether the specified Rect is equal to the current Rect. | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.) | |
GetHashCode | Creates a hash code for the Rect. (Overrides ValueType.GetHashCode().) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
Intersect | Finds the intersection of the rectangle represented by the current Rect and the rectangle represented by the specified Rect, and stores the result as the current Rect. | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
ToString() | Returns a string representation of the Rect structure. (Overrides ValueType.ToString().) | |
ToString(IFormatProvider) | Returns a string representation of the rectangle by using the specified format provider. | |
Union(Point) | Expands the rectangle represented by the current Rect exactly enough to contain the specified point. | |
Union(Rect) | Expands the rectangle represented by the current Rect exactly enough to contain the specified rectangle. |
Top
Explicit Interface Implementations
Name | Description | |
---|---|---|
IFormattable.ToString | Infrastructure. For a description of this member, see ToString. |
Top