LinkDecorator::DoPaintShape Method (RectangleD, IGeometryHost^, DiagramPaintEventArgs^)
Visual Studio 2015
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.
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0.dll)
public: virtual void DoPaintShape( RectangleD bounds, IGeometryHost^ shape, DiagramPaintEventArgs^ e )
Parameters
- bounds
-
Type:
Microsoft.VisualStudio.Modeling.Diagrams::RectangleD
Rectangle in which to draw the decorator.
- shape
-
Type:
Microsoft.VisualStudio.Modeling.Diagrams::IGeometryHost^
LinkShape that this decorator is associated with.
- e
-
Type:
Microsoft.VisualStudio.Modeling.Diagrams::DiagramPaintEventArgs^
DiagramPaintEventArgs used get he Graphics object for drawing.
Show: