ShapeGeometry.Rotate 方法
沿著指定的中心旋轉點陣列。
命名空間: Microsoft.VisualStudio.Modeling.Diagrams
組件: Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0 (在 Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0.dll 中)
語法
'宣告
Public Shared Sub Rotate ( _
center As PointD, _
angleRadians As Double, _
points As PointD() _
)
public static void Rotate(
PointD center,
double angleRadians,
PointD[] points
)
參數
- center
類型:Microsoft.VisualStudio.Modeling.Diagrams.PointD
旋轉點所圍繞的中心點。
- angleRadians
類型:System.Double
以弧度旋轉的角度。
- points
類型:array<Microsoft.VisualStudio.Modeling.Diagrams.PointD[]
要旋轉的點。陣列會更新以包含旋轉的點。
.NET Framework 安全性
- 完全信任立即呼叫者。這個成員無法供部分信任的程式碼使用。如需詳細資訊,請參閱從部分受信任程式碼使用程式庫。