DecoratorEmptyDiamond Class

Definition

This is an diamond decorator filled with the diagram's background color.

C++
public ref class DecoratorEmptyDiamond : Microsoft::VisualStudio::Modeling::Diagrams::DecoratorFilledDiamond
Inheritance
Attributes

Constructors

DecoratorEmptyDiamond()

Default constructor does nothing, but needed for serialization.

Properties

BrushId

Gets the BrushId used to draw the decorator background.

DecoratorPath

get/set the graphics path This is a singleton on the geometry class. Do not dispose. Use immediately.

(Inherited from LinkDecorator)
FillDecorator (Inherited from LinkDecorator)
PenId

Gets the PenId used to draw the outline.

(Inherited from LinkDecorator)

Methods

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.

(Inherited from LinkDecorator)
GetPath(RectangleD)

Returns the GraphicsPath for this LinkDecorator based on the bounding box passed in.

(Inherited from DecoratorFilledDiamond)

Applies to

Product Versions
Visual Studio SDK 2017, 2019, 2022