ShapeGeometry.Rotate 方法
旋轉處理指定的中心點的陣列。
命名空間: Microsoft.VisualStudio.Modeling.Diagrams
組件: Microsoft.VisualStudio.Modeling.Sdk.Diagrams.11.0 (在 Microsoft.VisualStudio.Modeling.Sdk.Diagrams.11.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 安全性
- 完全信任立即呼叫者。這個成員無法供部分信任的程式碼使用。如需詳細資訊,請參閱從部分受信任程式碼使用程式庫。