2.1.1.3 BrushType Enumeration
The BrushType enumeration defines types of graphics brushes, which are used to fill graphics regions.
-
typedef enum { BrushTypeSolidColor = 0x00000000, BrushTypeHatchFill = 0x00000001, BrushTypeTextureFill = 0x00000002, BrushTypePathGradient = 0x00000003, BrushTypeLinearGradient = 0x00000004 } BrushType;
BrushTypeSolidColor: A solid-color brush, which is characterized by an EmfPlusARGB value.
BrushTypeHatchFill: A hatch brush, which is characterized by a predefined pattern.
BrushTypeTextureFill: A texture brush, which is characterized by an image.
BrushTypePathGradient: A path gradient brush, which is characterized by a color gradient path gradient brush data.
BrushTypeLinearGradient: BrushData contains linear gradient brush data.
Graphics brushes are specified by EmfPlusBrush objects.
See section 2.1.1 for the specification of additional enumerations.