Rotate the shape geometry.
Namespace: Microsoft.VisualStudio.Modeling.Diagrams
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.dll)
Syntax
'宣言
Public Shared Sub Rotate ( _
center As PointD, _
angleRadians As Double, _
points As PointD() _
)
'使用
Dim center As PointD
Dim angleRadians As Double
Dim points As PointD()
ShapeGeometry.Rotate(center, angleRadians, _
points)
public static void Rotate(
PointD center,
double angleRadians,
PointD[] points
)
public:
static void Rotate(
PointD center,
double angleRadians,
array<PointD>^ points
)
public static function Rotate(
center : PointD,
angleRadians : double,
points : PointD[]
)
Parameters
center
Type: Microsoft.VisualStudio.Modeling.Diagrams.PointDThe center point for the shape geometry.
angleRadians
Type: System.DoubleThe angle to rotate in radians.
points
Type: []The points on the path around the geometry.
Permissions
- 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.