RectangleD::Inflate Method (RectangleD, Double, Double)
Visual Studio 2015
A copy in which the edges are moved outwards by the specified distances. The center of the copy is not moved.
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0.dll)
Parameters
- rectangle
-
Type:
Microsoft.VisualStudio.Modeling.Diagrams::RectangleD
The RectangleD to be copied. This rectangle is not modified.
- x
-
Type:
System::Double
The amount to move the left and right borders away from the center. The total width is increased by 2x.
- y
-
Type:
System::Double
The amount to move the top and bottom borders away from the center. The total height is increased by 2y.
Return Value
Type: Microsoft.VisualStudio.Modeling.Diagrams::RectangleD
Show: