Пример #1
0
 /// <summary>Maps a System.Drawing.Color to a System.ConsoleColor.</summary>
 /// <param name="consoleColor">The <see cref="ConsoleColor"/> to be changed.</param>
 /// <param name="color">The <see cref="Color"/> to be mapped to the <see cref="ConsoleColor"/> value.</param>
 public void MapColor(ConsoleColor consoleColor, Color color)
 {
     // NOTE: The default console colors used are gray (foreground) and black (background).
     MappingAction.MapColor(consoleColor, color.R, color.G, color.B);
 }