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