Share via


LinkDecorator.DoPaintShape Method

Paints the LinkDecorator on a LinkShape based on the bounds that it's given. The default drawing code gets the Path for the decorator and draws and fills it based on the LinkDecorator's PenId and BrushId.

Namespace:  Microsoft.VisualStudio.Modeling.Diagrams
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.Diagrams.11.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.11.0.dll)

Syntax

'Declaration
Public Overridable Sub DoPaintShape ( _
    bounds As RectangleD, _
    shape As IGeometryHost, _
    e As DiagramPaintEventArgs _
)
public virtual void DoPaintShape(
    RectangleD bounds,
    IGeometryHost shape,
    DiagramPaintEventArgs e
)
public:
virtual void DoPaintShape(
    RectangleD bounds, 
    IGeometryHost^ shape, 
    DiagramPaintEventArgs^ e
)
abstract DoPaintShape : 
        bounds:RectangleD * 
        shape:IGeometryHost * 
        e:DiagramPaintEventArgs -> unit  
override DoPaintShape : 
        bounds:RectangleD * 
        shape:IGeometryHost * 
        e:DiagramPaintEventArgs -> unit
public function DoPaintShape(
    bounds : RectangleD, 
    shape : IGeometryHost, 
    e : DiagramPaintEventArgs
)

Parameters

.NET Framework Security

See Also

Reference

LinkDecorator Class

Microsoft.VisualStudio.Modeling.Diagrams Namespace