Compartilhar via


RectangleD.Offset Method

Definition

Overloads

Offset(PointD)

Adjusts the location of this rectangle by the specified amount.

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.

public:
 void Offset(Microsoft::VisualStudio::Modeling::Diagrams::PointD pos);
public void Offset (Microsoft.VisualStudio.Modeling.Diagrams.PointD pos);
member this.Offset : Microsoft.VisualStudio.Modeling.Diagrams.PointD -> unit
Public Sub Offset (pos As PointD)

Parameters

pos
PointD

The amount to offset the location.

Applies to

Offset(Double, Double)

Adjusts the location of this rectangle by the specified amount.

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

Parameters

x
Double

The amount to offset the location horizontally.

y
Double

The amount to offset the location vertically.

Applies to