Delegate MagicWandSettings.ColorComparison
MagicWandSettings.ColorComparison delegate
Delegate for Color comparison with a defined threshold.
public delegate bool ColorComparison(Color p1, Color p2, int threshold);
| Parameter | Type | Description |
|---|---|---|
| p1 | Color | The first color to compare. |
| p2 | Color | The second color to compare. |
| threshold | Int32 | The allowed threshold for color difference. |
Return Value
true if color comparison satisfies the threshold; otherwise, false.
See Also
- struct Color
- class MagicWandSettings
- namespace Aspose.Imaging.MagicWand
- assembly Aspose.Imaging