RectangleD Methods
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0.dll)
| Name | Description | |
|---|---|---|
![]() | Contains(Double, Double) | Determines if the specified point is contained within this RectangleD structure. |
![]() | Contains(PointD) | Determines if the specified point is contained within this RectangleD structure. |
![]() | Contains(RectangleD) | Determines if the rectangular region represented by rectangle is entirely contained within this RectangleD structure. |
![]() | ContainsX(Double) | Determines if the X coordinate is contained within this RectangleD structure. |
![]() | ContainsY(Double) | Determines if the Y coordinate is contained within this RectangleD structure. |
![]() | Equals(Object^) | Overridden. Tests whether obj is a RectangleD with the same location and size of this RectangleD.(Overrides ValueType::Equals(Object^).) |
![]() | GetHashCode() | Gets the hash code for this RectangleD structure. For information about the use of hash codes, see Object.GetHashCode.(Overrides ValueType::GetHashCode().) |
![]() | GetType() | (Inherited from Object.) |
![]() | Inflate(Double, Double) | A copy in which the edges are moved outwards by specified distances, and the center is in the same position. |
![]() ![]() | Inflate(RectangleD, Double, Double) | A copy in which the edges are moved outwards by the specified distances. The center of the copy is not moved. |
![]() | Inflate(SizeD) | A copy in which the edges are moved outwards by the specified distances, and the center is unmoved. |
![]() | Intersect(RectangleD) | Replaces this RectangleD structure with the intersection of itself and the specified RectangleD structure. |
![]() ![]() | Intersect(RectangleD, RectangleD) | Returns a RectangleD structure that represents the intersection of two rectangles. If there is no intersection, null is returned. |
![]() | IntersectsWith(RectangleD) | Determines if this rectangle intersects with rectangle. |
![]() | IsOnPerimeter(PointD) | |
![]() | Offset(Double, Double) | Adjusts the location of this rectangle by the specified amount. |
![]() | Offset(PointD) | Adjusts the location of this rectangle by the specified amount. |
![]() | PerimeterTranslation(Double, Double) | |
![]() | PerimeterTranslation(PointD) | |
![]() ![]() | ToRectangleF(RectangleD) | Converts the specified RectangleD to a RectangleF. |
![]() | ToString() | Returns a string formatted like this: X=x, Y=y, Width=width, Height=height(Overrides ValueType::ToString().) |
![]() ![]() | Union(RectangleD, RectangleD) | Creates the smallest possible third rectangle that can contain both of two rectangles that form a union. |

