CodeTV.GraphBuilderBase.PaintBlackBands C# (CSharp) Метод

PaintBlackBands() защищенный Метод

protected PaintBlackBands ( Graphics g ) : void
g System.Drawing.Graphics
Результат void
        protected virtual void PaintBlackBands(Graphics g)
        {
            if (this.videoRenderer != null)
            {
                Trace.WriteLineIf(trace.TraceInfo, "PaintBlackBands()");

                Rectangle[] alRectangles = GetBlackBands();
                if (alRectangles.Length > 0)
                {
                    g.FillRectangles(new SolidBrush(Settings.VideoBackgroundColor), alRectangles);
                    g.DrawRectangles(new System.Drawing.Pen(Settings.VideoBackgroundColor), alRectangles);
                }
            }
        }