如题!要求颜色是由四周向中间渐变的!感谢!

解决方案 »

  1.   

    http://www.abab123.com/bbs/down.asp?html=1438240
    在这里找找,可能对你有帮助
      

  2.   

    http://www.codeproject.com/KB/GDI-plus/SpeechBalloon.aspx
      

  3.   

    路径填充嘛
    private void Form1_Paint(object sender, PaintEventArgs e)
            {
                GraphicsPath path = new GraphicsPath();
                path.AddEllipse(this.ClientRectangle);
                PathGradientBrush pb = new PathGradientBrush(path);
                pb.CenterColor = Color.Red;
                Color[] colors = { Color.Brown};
                pb.SurroundColors = colors;
                e.Graphics.FillPath(pb, path);
            }