Delegate MagicWandSettings.ColorComparison

MagicWandSettings.ColorComparison delegate

Delegate for Color comparison with a defined threshold.

public delegate bool ColorComparison(Color p1, Color p2, int threshold);
ParameterTypeDescription
p1ColorThe first color to compare.
p2ColorThe second color to compare.
thresholdInt32The allowed threshold for color difference.

Return Value

true if color comparison satisfies the threshold; otherwise, false.

See Also