RectangleD::Inflate Method (RectangleD, Double, Double)

 

A copy in which the edges are moved outwards by the specified distances. The center of the copy is not moved.

Namespace:   Microsoft.VisualStudio.Modeling.Diagrams
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0.dll)

public:
static RectangleD Inflate(
	RectangleD rectangle,
	double x,
	double y
)

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 to top
Show: