EmfPlusHatchBrushData Class
The EmfPlusHatchBrushData object specifies a hatch pattern for a graphics brush.
Inheritance Hierarchy

Namespace: Aspose.Imaging.FileFormats.Emf.EmfPlus.Objects
Assembly: Aspose.Imaging (in Aspose.Imaging.dll) Version: 21.05
public sealed class EmfPlusHatchBrushData : EmfPlusBaseBrushData

The EmfPlusHatchBrushData type exposes the following members.

Public methodEmfPlusHatchBrushData
Initializes a new instance of the EmfPlusHatchBrushData class
Public propertyBackArgb32Color
Gets or sets a 32-bit EmfPlusArgb object that specifies the color used to paint the background of the hatch pattern.
Public propertyForeArgb32Color
Gets or sets a 32-bit EmfPlusArgb object that specifies the color used to draw the lines of the hatch pattern.
Public propertyHatchStyle
Gets or sets a 32-bit unsigned integer that specifies the brush hatch style. It MUST be defined in the EmfPlusHatchStyle enumeration.
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(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.)
Graphics brushes are specified by EmfPlusBrush objects (section A hatch brush paints a background and draws a pattern of lines, dots, dashes, squares, and crosshatch lines over this background. The hatch brush defines two colors: one for the background and one for the pattern over the background. The color of the background is called the background color, and the color of the pattern is called the foreground color.
See Also