RectangleD.Offset Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.