ARCed.Core.ColorWheel.DrawLinearGradient C# (CSharp) Method

DrawLinearGradient() private method

private DrawLinearGradient ( Color topColor ) : void
topColor Color
return void
        private void DrawLinearGradient(Color topColor)
        {
            using (var lgb =
                new LinearGradientBrush(this._brightnessRectangle, topColor,
                    Color.Black, LinearGradientMode.Vertical))
            {
                this._graphics.FillRectangle(lgb, this._brightnessRectangle);
            }
        }