ShapeGeometry.Rotate Method (PointD, Double, PointD[])

 

Rotate an array of points around a specified center.

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 Rotate(
	PointD center,
	double angleRadians,
	PointD[] points
)

Parameters

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

The center point around which to rotate the points.

angleRadians
Type: System.Double

The angle to rotate in radians.

points
Type: Microsoft.VisualStudio.Modeling.Diagrams.PointD[]

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

Return to top
Show: