Exemplo n.º 1
0
 private bool CompareColors(Color first, Color second)
 {
     return(ColorUtilities.ComputeDistance(first, second, distanceAlgorithm) <= tolerance);
 }
Exemplo n.º 2
0
 public static double DistanceTo(this Color color, Color other)
 {
     return(ColorUtilities.ComputeDistance(color, other));
 }