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.
COLORREF value that specifies the starting color
COLORREF value that specifies the ending color
Number of gradient color steps. Valid values are from 2 to 256
Gradient style.
Examples of filling styles can be seen below: