예제 #1
0
        public static string GetDisplayName(this HeatmapColor item)
        {
            switch (item)
            {
            case HeatmapColor.Cold: return("Heatmap - Cold Color");

            case HeatmapColor.Mean: return("Heatmap - Mean Color");

            case HeatmapColor.Hot: return("Heatmap - Hot Color");
            }
            throw new NotImplementedException();
        }
예제 #2
0
 public (Color fg, Color bg, bool bold) GetInfo(HeatmapColor item)
 {
     ThreadHelper.ThrowIfNotOnUIThread();
     return(GetInfo(item.GetDisplayName()));
 }