DecoratorFilledDiamond Class

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

Inheritance Hierarchy


Namespace: Microsoft.VisualStudio.Modeling.Diagrams
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams.11.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.11.0.dll)


<SerializableAttribute> _
Public Class DecoratorFilledDiamond _
    Inherits LinkDecorator
public class DecoratorFilledDiamond : LinkDecorator
public ref class DecoratorFilledDiamond : public LinkDecorator
type DecoratorFilledDiamond =  
        inherit LinkDecorator 
public class DecoratorFilledDiamond extends LinkDecorator

The DecoratorFilledDiamond type exposes the following members.


Name Description
Public method DecoratorFilledDiamond Default constructor.



Name Description
Public property BrushId Gets the BrushId used to draw the decorator background. (Inherited from LinkDecorator.)
Public property DecoratorPath get/set the graphics path This is a singleton on the geometry class. Do not dispose. Use immediately. (Inherited from LinkDecorator.)
Protected property FillDecorator (Inherited from LinkDecorator.)
Public property PenId Gets the PenId used to draw the outline. (Inherited from LinkDecorator.)



Name Description
Public method DoPaintShape 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.)
Public method Equals Determines whether the specified object is equal to the current object. (Inherited from Object.)
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public method GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Protected method GetPath Returns the GraphicsPath for this LinkDecorator based on the bounding box passed in. (Overrides LinkDecorator.GetPath(RectangleD).)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method ToString Returns a string that represents the current object. (Inherited from Object.)


Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also


Microsoft.VisualStudio.Modeling.Diagrams Namespace