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);
                }
            }
        }