Share via


ShapeGeometry.Rotate Method

Rotate an array of points around a specified center.

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

Syntax

'Declaration
Public Shared Sub Rotate ( _
    center As PointD, _
    angleRadians As Double, _
    points As PointD() _
)
public static void Rotate(
    PointD center,
    double angleRadians,
    PointD[] points
)
public:
static void Rotate(
    PointD center, 
    double angleRadians, 
    array<PointD>^ points
)
static member Rotate : 
        center:PointD * 
        angleRadians:float * 
        points:PointD[] -> unit
public static function Rotate(
    center : PointD, 
    angleRadians : double, 
    points : PointD[]
)

Parameters

  • angleRadians
    Type: Double

    The angle to rotate in radians.

.NET Framework Security

See Also

Reference

ShapeGeometry Class

Microsoft.VisualStudio.Modeling.Diagrams Namespace

Translate