Baka_MPlayer.Controls.ColorSlider.LightenColors C# (CSharp) Méthode

LightenColors() public static méthode

Lightens colors from given array.
public static LightenColors ( ) : Color[]
Résultat Color[]
        public static Color[] LightenColors(params Color[] colorsToLighten)
        {
            var colorsToReturn = new Color[colorsToLighten.Length];
            for (int i = 0; i < colorsToLighten.Length; i++)
            {
                colorsToReturn[i] = ControlPaint.Light(colorsToLighten[i]);
            }
            return colorsToReturn;
        }