Bitmap.PlotSurface2D.Refresh C# (CSharp) Method

Refresh() public method

Refreshes (draws) the plot.
public Refresh ( ) : void
return void
            public void Refresh()
            {
                if (this.backColor_ != null)
                {
                    Graphics g = Graphics.FromImage(b_);
                    g.FillRectangle((new Pen((Color)this.backColor_)).Brush, 0, 0, b_.Width, b_.Height);
                }
                ps_.Draw(Graphics.FromImage(b_), new Rectangle(0, 0, b_.Width, b_.Height));
            }