void CBCGPBrush::SetColors | ( | const CBCGPColor & | color, |
const CBCGPColor & | colorGradient, | ||
BCGP_GRADIENT_TYPE | gradientType, | ||
double | opacity = 1. |
||
) |
Sets a gradient brush colors and gradient type.
color | The color. |
colorGradient | The gradient color. |
gradientType | Type of the gradient. |
opacity | The brush opacity. |