Click or drag to resize

BrushData Class

Converts a brush into a simple format that can be serialized.
Inheritance Hierarchy
SystemObject
  Deltabit.WinFormsBrushData

Namespace:  Deltabit.WinForms
Assembly:  Deltabit.HotImage (in Deltabit.HotImage.dll) Version: 2.1.1.0 (2.1.1)
Syntax
public class BrushData

The BrushData type exposes the following members.

Constructors
  NameDescription
Public methodBrushData
Default constructor.
Public methodBrushData(Brush, HotImage, String)
This constructor allows any System.Drawing Brush to be passed to it. The parent Hotimage is required so that the TextureBrush can get the resource embedded in the assembly that is the parent of the Hotimage.
Public methodBrushData(LinearGradientBrush, HotImage, LinearGradientMode)
Constructor for creating a BrushData for a LinearGradientBrush.
Top
Methods
  NameDescription
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Fields
  NameDescription
Public fieldBackgroundColor
Background color of a brush.
Public fieldBrushType
The type of brush.
Public fieldEmbeddedResourceName
The name of a resource Image, used for painting a TextureBrush.
Public fieldForegroundColor
Foreground color of a brush.
Public fieldGradientDirection
Gradient direction if it is a gradient brush.
Public fieldHatchStyle
HatchStyle of the brush if it is a HatchBrush.
Public fieldRectangle
Rectangle data.
Public fieldWrapMode
Brush WrapMode -Specifies how a texture or gradient is tiled when it is smaller than the area being filled. String representation of System.Drawing.Drawing2D.WrapMode enumeration.
Top
See Also