PenStyleSetInfo Class
Contains the StyleSet information about a pen. These are all of the settings that be placed on a Pen like Color, Alignment, LineCap, PenType, etc. The information is used to create a unique hash code for this class which is used in the HybridDictionary for lookup of a particular cached resourse.
System.Object
Microsoft.VisualStudio.Modeling.Diagrams.PenStyleSetInfo
Namespace: Microsoft.VisualStudio.Modeling.Diagrams
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0.dll)
'Declaration
Public Class PenStyleSetInfo _
Implements ICloneable
public class PenStyleSetInfo : ICloneable
public ref class PenStyleSetInfo : ICloneable
type PenStyleSetInfo =
class
interface ICloneable
end
public class PenStyleSetInfo implements ICloneable
The PenStyleSetInfo type exposes the following members.
Name | Description | |
---|---|---|
PenStyleSetInfo |
Top
Name | Description | |
---|---|---|
Alignment | Gets or sets the PenAlignment information. | |
Brush | Gets or sets the Brush information for this pen. | |
Color | Gets or sets the Color information for this pen. | |
CompoundArray | Gets or sets an array values that specify a compound pen. A compound pen draws a compound line made up of parallel lines and spaces. | |
CustomEndCap | Gets or sets a custom cap to use at the end of lines drawn with this Pen object. | |
CustomStartCap | Gets or sets a custom cap to use at the beginning of lines drawn with this Pen object. | |
DashCap | Gets or sets the cap style used at the end of the dashes that make up dashed lines drawn with this Pen object. | |
DashOffset | Gets or sets the distance from the start of a line to the beginning of a dash pattern. | |
DashPattern | Gets or sets an array of custom dashes and spaces. | |
DashStyle | Gets or sets the style used for dashed lines drawn with this Pen object. | |
EndCap | Gets or sets the cap style used at the end of lines drawn with this Pen object. | |
LineJoin | Gets or sets the join style for the ends of two consecutive lines drawn with this Pen object. | |
MiterLimit | Gets or sets the limit of the thickness of the join on a mitered corner. | |
StartCap | Gets or sets the cap style used at the beginning of lines drawn with this Pen object. | |
Transform | Gets or sets the geometric transformation for this Pen object. | |
Width | Gets or sets the width of this Pen object. |
Top
Name | Description | |
---|---|---|
Clone | Method to create a new instance of this object with the same instance data. | |
Equals(Object) | Determines whether the specified object is equal to this one. Only equal if all of their properties are equal. (Overrides Object.Equals(Object).) | |
Equals(Object, Object) | Determines whether the two specified objects are equal to each other | |
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 PenStyleSetInfo, suitable for use in hashing algorithms and data structures like a hash table. (Overrides Object.GetHashCode().) | |
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
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.