C#画刷绘制渐变矩形

时间:2014-04-25 17:07:43
【文件属性】:
文件名称:C#画刷绘制渐变矩形
文件大小:42KB
文件格式:RAR
更新时间:2014-04-25 17:07:43
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();
【文件预览】:
gaolinglong35jianbiantuxing
----gaolinglong35jianbiantuxing.sln(971B)
----gaolinglong35jianbiantuxing()
--------Form1.cs(4KB)
--------bin()
--------obj()
--------Properties()
--------Program.cs(508B)
--------Form1.Designer.cs(10KB)
--------Form1.resx(6KB)
--------gaolinglong35jianbiantuxing.csproj(4KB)
----gaolinglong35jianbiantuxing.suo(15KB)

网友评论

  • 还可以吧,参考下了
  • 还可以吧,参考了。