创建填充色背景图

    xiaoxiao2021-10-30  57

    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)
    转载请注明原文地址: https://ju.6miu.com/read-677884.html

    最新回复(0)