文件名称:创建线性梯度,C#源代码LinearGradientBrush linGrBrush = new LinearGradientBrush(
文件大小:33KB
文件格式:RAR
更新时间:2012-01-21 08:10:13
创建线性梯度,C#源代码LinearGradientBrush linGrBrush = new LinearGradientBrush(
创建线性梯度,C#源代码LinearGradientBrush linGrBrush = new LinearGradientBrush( new Point(0, 0), new Point(200, 100), Color.FromArgb(255, 0, 0, 255), // opaque blue Color.FromArgb(255, 0, 255, 0)); // opaque green Pen pen = new Pen(linGrBrush, 10); e.Graphics.DrawLine(pen, 0, 0, 600, 300); e.Graphics.FillEllipse(linGrBrush, 10, 100, 200, 100); VisualStudio2008创建
【文件预览】:
linGrBrush
----新建 文本文档.txt(558B)
----linGrBrush.sln(920B)
----linGrBrush()
--------Form1.cs(970B)
--------bin()
--------obj()
--------Properties()
--------Program.cs(491B)
--------linGrBrush.csproj(4KB)
--------Form1.Designer.cs(1KB)
--------Form1.resx(6KB)
----linGrBrush.suo(13KB)