Esempio n. 1
0
 /// <summary>
 /// Updates the color pallete.
 /// </summary>
 void UpdateColorPallete()
 {
     ColorPallete.Clear();
     foreach (var item in _currentColor.GetPallete(_numOfColorsInPallete, _luminosityOnPallete))
     {
         ColorPallete.Add(new SolidColorBrush(item));
     }
 }