RectangleD.Inflate Method

Definition

Overloads

Inflate(SizeD)

Inflates this RectangleF by the specified amount.

Inflate(Double, Double)

Inflates this RectangleD structure by the specified amount.

Inflate(RectangleD, Double, Double)

Creates and returns an inflated copy of the specified RectangleD structure. The copy is inflated by the specified amount. The original rectangle remains unmodified.

Inflate(SizeD)

Inflates this RectangleF by the specified amount.

public:
 void Inflate(Microsoft::VisualStudio::Modeling::Diagrams::SizeD size);
public void Inflate (Microsoft.VisualStudio.Modeling.Diagrams.SizeD size);
member this.Inflate : Microsoft.VisualStudio.Modeling.Diagrams.SizeD -> unit
Public Sub Inflate (size As SizeD)

Parameters

size
SizeD

The amount to inflate this rectangle.

Applies to

Inflate(Double, Double)

Inflates this RectangleD structure by the specified amount.

public:
 void Inflate(double x, double y);
public void Inflate (double x, double y);
member this.Inflate : double * double -> unit
Public Sub Inflate (x As Double, y As Double)

Parameters

x
Double

The amount to inflate this RectangleD structure horizontally.

y
Double

The amount to inflate this RectangleD structure vertically.

Applies to

Inflate(RectangleD, Double, Double)

Creates and returns an inflated copy of the specified RectangleD structure. The copy is inflated by the specified amount. The original rectangle remains unmodified.

public:
 static Microsoft::VisualStudio::Modeling::Diagrams::RectangleD Inflate(Microsoft::VisualStudio::Modeling::Diagrams::RectangleD rectangle, double x, double y);
public static Microsoft.VisualStudio.Modeling.Diagrams.RectangleD Inflate (Microsoft.VisualStudio.Modeling.Diagrams.RectangleD rectangle, double x, double y);
static member Inflate : Microsoft.VisualStudio.Modeling.Diagrams.RectangleD * double * double -> Microsoft.VisualStudio.Modeling.Diagrams.RectangleD
Public Shared Function Inflate (rectangle As RectangleD, x As Double, y As Double) As RectangleD

Parameters

rectangle
RectangleD

The RectangleD to be copied. This rectangle is not modified.

x
Double

The amount to inflate the copy of the rectangle horizontally.

y
Double

The amount to inflate the copy of the rectangle vertically.

Returns

Applies to