ShapeGeometry.Rotate Method
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)
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
center
Type: Microsoft.VisualStudio.Modeling.Diagrams.PointDThe center point around which to rotate the points.
angleRadians
Type: System.DoubleThe angle to rotate in radians.
points
Type: array<Microsoft.VisualStudio.Modeling.Diagrams.PointD[]The points to be rotated. The array is updated to contain the rotated 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.