LinkShapeGeometry.DrawDecorator 方法

绘制 LinkShape 的装饰器。

命名空间:  Microsoft.VisualStudio.Modeling.Diagrams
程序集:  Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0(在 Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0.dll 中)

语法

声明
Protected Shared Sub DrawDecorator ( _
    e As DiagramPaintEventArgs, _
    geometryHost As IGeometryHost, _
    rotation As Single, _
    centerRight As PointD, _
    decorator As LinkDecorator, _
    geometrySize As SizeD _
)
protected static void DrawDecorator(
    DiagramPaintEventArgs e,
    IGeometryHost geometryHost,
    float rotation,
    PointD centerRight,
    LinkDecorator decorator,
    SizeD geometrySize
)

参数

  • rotation
    类型:System.Single
    在 centerRight 指定的点周围的顺时针旋转角度

.NET Framework 安全性

请参阅

参考

LinkShapeGeometry 类

Microsoft.VisualStudio.Modeling.Diagrams 命名空间