Udostępnij za pośrednictwem


BrushStyleSetInfo Class

Definition

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.

public ref class BrushStyleSetInfo : ICloneable
public class BrushStyleSetInfo : ICloneable
type BrushStyleSetInfo = class
    interface ICloneable
Public Class BrushStyleSetInfo
Implements ICloneable
Inheritance
BrushStyleSetInfo
Implements

Constructors

BrushStyleSetInfo()

Properties

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.

Methods

Clone()

Method to create a new instance of this object with the same instance data.

Equals(Object, Object)

Determines whether the two specified objects are equal to each other

Equals(Object)

Determines whether the specified object is equal to this one. Only equal if all of their properties are equal.

GetHashCode()

Serves as a hash function for a BrushStyleSetInfo, suitable for use in hashing algorithms and data structures like a hash table.

Applies to