2.2.2.20 EmfPlusHatchBrushData Object

The EmfPlusHatchBrushData object specifies a hatch pattern for a graphics brush.


0


1


2


3


4


5


6


7


8


9

1
0


1


2


3


4


5


6


7


8


9

2
0


1


2


3


4


5


6


7


8


9

3
0


1

HatchStyle

ForeColor

BackColor

HatchStyle (4 bytes): An unsigned integer that specifies the brush hatch style. It is defined in the HatchStyle enumeration (section 2.1.1.13).

ForeColor (4 bytes): An EmfPlusARGB object (section 2.2.2.1) that specifies the color used to draw the lines of the hatch pattern.

BackColor (4 bytes): An EmfPlusARGB object that specifies the color used to paint the background of the hatch pattern.

Graphics brushes are specified by EmfPlusBrush objects (section 2.2.1.1). 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 section 2.2.2 for the specification of additional structure objects.