ShapeGeometry::Translate Method (PointD, array<PointD>^)

 

Moves an array of points by a specified vector.

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

public:
static void Translate(
	PointD delta,
	array<PointD>^ points
)

Parameters

delta
Type: Microsoft.VisualStudio.Modeling.Diagrams::PointD

The distance and direction to move the points.

points
Type: array<Microsoft.VisualStudio.Modeling.Diagrams::PointD>^

The points to be translated. The array is updated to contain the translated points.

Return to top
Show: