LinkDecorator Class
Base LinkDecorator class which allows other derived classes to implement actual different geometries for decorators. This class also provides static accessors for the different type of decorators that exist as part of the core design surface.
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0.dll)
Microsoft.VisualStudio.Modeling.Diagrams::LinkDecorator
Microsoft.VisualStudio.Modeling.Diagrams::DecoratorDoubleEmptyArrow
Microsoft.VisualStudio.Modeling.Diagrams::DecoratorEmptyArrow
Microsoft.VisualStudio.Modeling.Diagrams::DecoratorFilledArrow
Microsoft.VisualStudio.Modeling.Diagrams::DecoratorFilledDiamond
| Name | Description | |
|---|---|---|
![]() | LinkDecorator() | Default constructor does nothing. |
| Name | Description | |
|---|---|---|
![]() | BrushId | Gets the BrushId used to draw the decorator background. |
![]() ![]() | DecoratorDoubleEmptyArrow | Gets the single instance of the double empty arrow decorator. |
![]() ![]() | DecoratorEmptyArrow | Gets the single instance of the empty arrow decorator. |
![]() ![]() | DecoratorEmptyDiamond | Gets the single instance of the empty diamond decorator. |
![]() ![]() | DecoratorFilledArrow | Gets the single instance of the filled arrow decorator. |
![]() ![]() | DecoratorFilledDiamond | Gets the single instance of the filled diamond decorator. |
![]() ![]() | DecoratorHollowArrow | Gets the single instance of the hollow arrow decorator. |
![]() | DecoratorPath | get/set the graphics path This is a singleton on the geometry class. Do not dispose. Use immediately. |
![]() | FillDecorator | |
![]() | PenId | Gets the PenId used to draw the outline. |
| Name | Description | |
|---|---|---|
![]() | DoPaintShape(RectangleD, IGeometryHost^, DiagramPaintEventArgs^) | 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. |
![]() | Equals(Object^) | (Inherited from Object.) |
![]() | Finalize() | (Inherited from Object.) |
![]() | GetHashCode() | (Inherited from Object.) |
![]() | GetPath(RectangleD) | Returns the GraphicsPath for this LinkDecorator based on the bounding box passed in. |
![]() | GetType() | (Inherited from Object.) |
![]() | MemberwiseClone() | (Inherited from Object.) |
![]() | ToString() | (Inherited from Object.) |
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.




