BCGSuite for MFC
CBCGPBrush::CBCGPBrush ( const CBCGPColor color,
const CBCGPColor colorGradient,
BCGP_GRADIENT_TYPE  gradientType,
double  opacity = 1. 
)

Constructor. Creates a gradient brush.

Parameters
colorThe brush color.
colorGradientThe brush gradient color.
gradientTypeType of the gradient.
opacityThe brush opacity.