Partilhar via


DecoratorEmptyArrow Class

Definition

This is an arrow decorator with only two lines

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

Constructors

DecoratorEmptyArrow()

Default constructor does nothing, but needed for serialization.

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. This is a singleton on the LinkDecorator class. Do not dispose. Use immediately.

Applies to