共用方式為


LinkDecorator.DoPaintShape 方法

繪製在 LinkShape LinkDecorator 根據會給予的界限。將預設的描繪程式碼會取得裝飾的路徑和繪製填滿它根據 LinkDecorator 的 PenId 和 BrushId。

命名空間:  Microsoft.VisualStudio.Modeling.Diagrams
組件:  Microsoft.VisualStudio.Modeling.Sdk.Diagrams.11.0 (在 Microsoft.VisualStudio.Modeling.Sdk.Diagrams.11.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 命名空間