LinkDecorator.DoPaintShape 方法

绘制 LinkDecorator 至给定基于边界的 LinkShape 上。 默认绘图代码获取修饰器的路径并基于 LinkDecorator 的 PenId 和 BrushId 对其进行绘制和填充。

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

语法

声明
Public Overridable Sub DoPaintShape ( _
    bounds As RectangleD, _
    shape As IGeometryHost, _
    e As DiagramPaintEventArgs _
)
public virtual void DoPaintShape(
    RectangleD bounds,
    IGeometryHost shape,
    DiagramPaintEventArgs e
)

参数

.NET Framework 安全性

请参阅

参考

LinkDecorator 类

Microsoft.VisualStudio.Modeling.Diagrams 命名空间