int nWidth = 300 , nHeight =300;
Bitmap bmp = new Bitmap(nWidth, nHeight);
Graphics g = Graphics.FromImage(bmp);
SolidBrush b = new SolidBrush(Color.Red);
g.FillRectangle(b, 0, 0, nWidth, nHeight)
创建填充色背景图
最新推荐文章于 2021-07-12 06:47:32 发布