Sdílet prostřednictvím


DecoratorFilledDiamond Class

Definition

This is an diamond decorator filled with a color based on BrushId.

public ref class DecoratorFilledDiamond : Microsoft::VisualStudio::Modeling::Diagrams::LinkDecorator
[System.Serializable]
public class DecoratorFilledDiamond : Microsoft.VisualStudio.Modeling.Diagrams.LinkDecorator
[<System.Serializable>]
type DecoratorFilledDiamond = class
    inherit LinkDecorator
Public Class DecoratorFilledDiamond
Inherits LinkDecorator
Inheritance
DecoratorFilledDiamond
Derived
Attributes

Constructors

DecoratorFilledDiamond()

Default constructor.

Properties

BrushId

Gets the BrushId used to draw the decorator background.

(Inherited from LinkDecorator)
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.

Applies to