ARCed.Core.ColorWheel.DrawLinearGradient C# (CSharp) Méthode

DrawLinearGradient() private méthode

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