Example #1
0
 public static void Remove(local.Point point)
 {
     CoordsColorDictionary.TryRemove(point, out sys.Color color);
 }
Example #2
0
 public static sys.Color GetColor(local.Point point)
 {
     CoordsColorDictionary.TryGetValue(point, out sys.Color color);
     return(color);
 }
Example #3
0
 public static void AddOrUpdate(local.Point point, sys.Color color)
 {
     CoordsColorDictionary.AddOrUpdate(point, color, (key, value) => value = color);
 }