GRADIENTBRUSH

Summary

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

Syntax

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

Members

L_COLORREF crStartColor

COLORREF value that specifies the starting color

L_COLORREF crEndColor

COLORREF value that specifies the ending color

L_INT uGradientSteps

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

GRADIENTBRUSHSTYLE GradientStyle

Gradient style. For valid values, refer to Effect Gradient Styles

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

Usage

Help Version 22.0.2022.12.7
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.

LEADTOOLS Vector C++ Class Library Help
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.