LinearGradientBrush linGrBrush(Point(10, 10), Point(200, 200), Color(255, 255, 0, 0), Color(255, 0, 0, 255)); //线性渐变画刷 /* 参数1:Point 颜色起点 参数2:Point 颜色终点 参数3:起点颜色 参数4:终点颜色 */
LinearGradientBrush linGrBrush(Point(10, 10), Point(200, 200), Color(255, 255, 0, 0), Color(255, 0, 0, 255)); //线性渐变画刷 /* 参数1:Point 颜色起点 参数2:Point 颜色终点 参数3:起点颜色 参数4:终点颜色 */