The VECTORBRUSH structure holds information about the brush used to draw a vector object.
typedef struct _VECTORBRUSH
{
L_INT nSize;
VECTORBRUSHSTYLE VectorBrushStyle;
union
{
STANDARDBRUSH StandardBrush;
HATCHBRUSH HatchBrush;
PATTERNBRUSH PatternBrush;
GRADIENTBRUSH GradientBrush;
} BrushType;
} VECTORBRUSH, *pVECTORBRUSH;
Size of this structure. Used for versioning.
Value that indicates the brush style. Possible values are:
Value | Meaning |
---|---|
VECTORBRUSH_STANDARD | Standard brush |
VECTORBRUSH_PATTERN | Pattern brush |
VECTORBRUSH_GRADIENT | Gradient brush |
VECTORBRUSH_HATCH | Hatched brush |
Union of structures. The type of structure in this member depends on the value of the VectorBrushStyle member.
if VectorBrushStyle is: | BrushType contains a structure of type: |
---|---|
VECTORBRUSH_STANDARD | STANDARDBRUSH |
VECTORBRUSH_PATTERN | PATTERNBRUSH |
VECTORBRUSH_GRADIENT | GRADIENTBRUSH |
VECTORBRUSH_HATCH | HATCHDBRUSH |
Help Collections
Raster .NET | C API | C++ Class Library | HTML5 JavaScript
Document .NET | C API | C++ Class Library | HTML5 JavaScript
Medical .NET | C API | C++ Class Library | HTML5 JavaScript
Medical Web Viewer .NET
Multimedia
Direct Show .NET | C API | Filters
Media Foundation .NET | C API | Transforms
Supported Platforms
.NET, Java, Android, and iOS/macOS Assemblies
Imaging, Medical, and Document
C API/C++ Class Libraries
Imaging, Medical, and Document
HTML5 JavaScript Libraries
Imaging, Medical, and Document