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

Sets a gradient brush colors and gradient type.

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