Partager via


PointD.Add(PointD, SizeD) Method

Definition

Translates a PointD by adding the given size.

public:
 static Microsoft::VisualStudio::Modeling::Diagrams::PointD Add(Microsoft::VisualStudio::Modeling::Diagrams::PointD point, Microsoft::VisualStudio::Modeling::Diagrams::SizeD size);
public static Microsoft.VisualStudio.Modeling.Diagrams.PointD Add (Microsoft.VisualStudio.Modeling.Diagrams.PointD point, Microsoft.VisualStudio.Modeling.Diagrams.SizeD size);
static member Add : Microsoft.VisualStudio.Modeling.Diagrams.PointD * Microsoft.VisualStudio.Modeling.Diagrams.SizeD -> Microsoft.VisualStudio.Modeling.Diagrams.PointD
Public Shared Function Add (point As PointD, size As SizeD) As PointD

Parameters

point
PointD

A PointD to add to.

size
SizeD

A SizeD to add to point

Returns

The translated PointD.

Applies to