C#画刷绘制渐变矩形
C#简单实现画刷绘制渐变矩形。 Brush brush1 = new LinearGradientBrush(new Point(10, 10), new Point(50, 50), this.button4.BackColor, this.button3.BackColor); Graphics g; g = this.CreateGraphics(); g.FillRectangle(brush1, 20, 60, 220, 180); brush1.Dispose();
下载地址
用户评论
还可以吧,参考下了
还可以吧,参考了。