GRADIENTBRUSH

typedef  struct  _GRADIENTBRUSH 
{ 
   L_COLORREF  crStartColor; 
   L_COLORREF  crEndColor; 
   L_INT  uGradientSteps; 
   GRADIENTBRUSHSTYLE  GradientStyle; 
}GRADIENTBRUSH,  *pGRADIENTBRUSH; 

The GRADIENTBRUSH structure contains information used to fill a closed area with a gradient of colors, using a specific style.

Member

Description

crStartColor

COLORREF value that specifies the starting color

crEndColor

COLORREF value that specifies the ending color

uGradientSteps

Number of gradient color steps. Valid values are from 2 to 256

GradientStyle

Gradient style.

Comments

Examples of filling styles can be seen below:

Gradient Filling:

image\Gradient1.gif

 image\Gradient2.gif

Hatch Filling:

image\Hatch1.gif

 image\Hatch2.gif

Pattern Filling:

image\Pattern1.gif

 image\Pattern2.gif

Help Version 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.
LEADTOOLS Vector C API Help