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