ShapeGeometry.Translate Method
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)
Syntax
'Declaration
Public Shared Sub Translate ( _
delta As PointD, _
points As PointD() _
)
public static void Translate(
PointD delta,
PointD[] points
)
public:
static void Translate(
PointD delta,
array<PointD>^ points
)
static member Translate :
delta:PointD *
points:PointD[] -> unit
public static function Translate(
delta : PointD,
points : PointD[]
)
Parameters
delta
Type: Microsoft.VisualStudio.Modeling.Diagrams.PointDThe 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.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.