2.2.1.1 EmfPlusBrush Object

The EmfPlusBrush object specifies a graphics brush for filling regions.


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

Version

Type

BrushData (variable)

...

Version (4 bytes): An EmfPlusGraphicsVersion object (section 2.2.2.19) that specifies the version of operating system graphics that was used to create this object.

Type (4 bytes): An unsigned integer that specifies the type of brush, which determines the contents of the BrushData field. This value is defined in the BrushType enumeration (section 2.1.1.3).

BrushData (variable): Variable-length data that defines the brush object specified in the Type field. The content and format of the data can be different for every brush type.

This object is generic and is used to specify different types of brush data, including the following objects:

  • EmfPlusHatchBrushData object (section 2.2.2.20)

  • EmfPlusLinearGradientBrushData object (section 2.2.2.24)

  • EmfPlusPathGradientBrushData object (section 2.2.2.29)

  • EmfPlusSolidBrushData object (section 2.2.2.43)

  • EmfPlusTextureBrushData object (section 2.2.2.45)

See section 2.2.1 for the specification of additional graphics objects.