Compartilhar via


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

System.Object
  Microsoft.VisualStudio.Modeling.Diagrams.BrushStyleSetInfo

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

Syntax

'Declaração
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
Public method BrushStyleSetInfo

Top

Properties

  Name Description
Public property BackColor Gets or sets the color of spaces between the hatch lines drawn by this HatchBrush object.
Public property BrushType Gets or sets the type of Brush.
Public property Color Gets or sets the color of this SolidBrush object.
Public property ForeColor Gets or sets the color of hatch lines drawn by this HatchBrush object.
Public property HatchStyle Gets or sets the hatch style of this HatchBrush object.
Public property Image Gets or sets the Image object associated with this TextureBrush object.
Public property Transform Gets or sets a Matrix object that defines a local geometric transformation for the image associated with this TextureBrush object.
Public property WrapMode Gets or sets a WrapMode enumeration that indicates the wrap mode for this TextureBrush object.

Top

Methods

  Name Description
Public method Clone Method to create a new instance of this object with the same instance data.
Public method 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).)
Public methodStatic member Equals(Object, Object) Determines whether the two specified objects are equal to each other
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 BrushStyleSetInfo, suitable for use in hashing algorithms and data structures like a hash table. (Overrides Object.GetHashCode().)
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.)

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.

See Also

Reference

Microsoft.VisualStudio.Modeling.Diagrams Namespace