DecoratorEmptyDiamond Class
This is an diamond decorator filled with the diagram's background color.
Inheritance Hierarchy
System.Object
Microsoft.VisualStudio.Modeling.Diagrams.LinkDecorator
Microsoft.VisualStudio.Modeling.Diagrams.DecoratorFilledDiamond
Microsoft.VisualStudio.Modeling.Diagrams.DecoratorEmptyDiamond
Namespace: Microsoft.VisualStudio.Modeling.Diagrams
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0.dll)
Syntax
'Déclaration
<SerializableAttribute> _
Public Class DecoratorEmptyDiamond _
Inherits DecoratorFilledDiamond
[SerializableAttribute]
public class DecoratorEmptyDiamond : DecoratorFilledDiamond
[SerializableAttribute]
public ref class DecoratorEmptyDiamond : public DecoratorFilledDiamond
[<SerializableAttribute>]
type DecoratorEmptyDiamond =
class
inherit DecoratorFilledDiamond
end
public class DecoratorEmptyDiamond extends DecoratorFilledDiamond
The DecoratorEmptyDiamond type exposes the following members.
Constructors
Name | Description | |
---|---|---|
DecoratorEmptyDiamond | Default constructor does nothing, but needed for serialization. |
Top
Properties
Name | Description | |
---|---|---|
BrushId | Gets the BrushId used to draw the decorator background. (Overrides LinkDecorator.BrushId.) | |
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.) |
Top
Methods
Name | Description | |
---|---|---|
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.) | |
Equals | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
GetPath | Returns the GraphicsPath for this LinkDecorator based on the bounding box passed in. (Inherited from DecoratorFilledDiamond.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
ToString | Returns a string that represents the current object. (Inherited from Object.) |
Top
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.