Partager via


ShapeGeometry.Translate Method

Moves an array of points by a specified vector.

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

Syntax

'Déclaration
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

.NET Framework Security

See Also

Reference

ShapeGeometry Class

Microsoft.VisualStudio.Modeling.Diagrams Namespace

Rotate(PointD, Double, array<PointD[])