BrushStyleSetInfo Class
Contains the StyleSet information about a brush. These are all of the settings that be placed on a Brush like Color, BrushType, HatchType, Image, 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 resource.
Inheritance Hierarchy
Object
Microsoft.VisualStudio.Modeling.Diagrams.BrushStyleSetInfo
Namespace: Microsoft.VisualStudio.Modeling.Diagrams
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams.11.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.11.0.dll)
Syntax
'Declaration
Public Class BrushStyleSetInfo _
Implements ICloneable
public class BrushStyleSetInfo : ICloneable
public ref class BrushStyleSetInfo : ICloneable
type BrushStyleSetInfo =
class
interface ICloneable
end
public class BrushStyleSetInfo implements ICloneable
The BrushStyleSetInfo type exposes the following members.
Constructors
Name | Description | |
---|---|---|
BrushStyleSetInfo |
Top
Properties
Name | Description | |
---|---|---|
BackColor | Gets or sets the color of spaces between the hatch lines drawn by this HatchBrush object. | |
BrushType | Gets or sets the type of Brush. | |
Color | Gets or sets the color of this SolidBrush object. | |
ForeColor | Gets or sets the color of hatch lines drawn by this HatchBrush object. | |
HatchStyle | Gets or sets the hatch style of this HatchBrush object. | |
Image | Gets or sets the Image object associated with this TextureBrush object. | |
Transform | Gets or sets a Matrix object that defines a local geometric transformation for the image associated with this TextureBrush object. | |
WrapMode | Gets or sets a WrapMode enumeration that indicates the wrap mode for this TextureBrush object. |
Top
Methods
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 BrushStyleSetInfo, 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
Remarks
Contains the StyleSet information about a brush. These are all the settings that can be applied to a Brush, such as Color, BrushType, HatchType, Image, 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 resource.
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.