RectangleD::Inflate Method (Double, Double)

 

A copy in which the edges are moved outwards by specified distances, and the center is in the same position.

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

public:
void Inflate(
	double x,
	double y
)

Parameters

x
Type: System::Double

The distance by which to move the left and right edges. The width is increased by 2x.

y
Type: System::Double

The distance by which to move the top and bottom edges. The height is increased by 2y.

Return to top
Show: