Products | Support | Send comments on this topic. | Email a link to this topic. | Back to Getting Started | Help Version 18.0.10.23
LEADTOOLS Vector C++ Class Library Help

VECTORBRUSH

Show in webframe

typedef struct _VECTORBRUSH
{
   L_INT nSize; 
   VECTORBRUSHSTYLE VectorBrushStyle;
   union
   {
      STANDARDBRUSH StandardBrush;
      HATCHBRUSH HatchBrush;
      PATTERNBRUSH PatternBrush;
      GRADIENTBRUSH GradientBrush;
      PATTERNBRUSHNEW PatternBrushNew;
   }BrushType;
}VECTORBRUSH,  *pVECTORBRUSH; 

The VECTORBRUSH structure holds information about the brush used to draw a vector object.

Member

Description

nSize

Size of this structure. Used for versioning.

VectorBrushStyle

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

 

VECTORBRUSH_PATTERN_NEW

New Pattern brush

BrushType

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

 

VECTORBRUSH_PATTERN_NEW

PATTERNBRUSHNEW

Products | Support | Contact Us | Copyright Notices
© 2006-2014 All Rights Reserved. LEAD Technologies, Inc.