Constructor uiimageFinder.uiimageFinder
Overload
Stores image/color data and search settings in this object. Loads images if need. See uiimage.find.
public uiimageFinder(IFImage image, IFFlags flags = 0, int diff = 0, Func<uiimage, IFAlso> also = null)
Parameters
image (IFImage)
Image or color to find. Or array of them. More info: IFImage. |
flags (IFFlags) |
diff (int)
Maximal allowed color difference. Can be 0 - 100, but should be as small as possible. Use to find images with slightly different colors than the specified image. |
also (Func<uiimage, IFAlso>)
Callback function. Called for each found image instance and receives its rectangle, match index and list index. Can return one of IFAlso values.
|
Exceptions
ArgumentException
An argument is/contains a |
FileNotFoundException
Image file does not exist. |
Exception
Exceptions of ImageUtil.LoadGdipBitmap. |