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. For valid values, refer to Effect Gradient Styles |
Examples of filling styles can be seen below:
Gradient Filling:
Hatch Filling:
Pattern Filling:
.
Raster .NET | C API | C++ Class Library | JavaScript HTML5
Document .NET | C API | C++ Class Library | JavaScript HTML5
Medical .NET | C API | C++ Class Library | JavaScript HTML5
Medical Web Viewer .NET