Function Reference
FFAddColorAdd one or more colors to the color list maintained by FastFind.
FFAddColor ( NewColor )
Parameters
NewColor | Color value or an array of color values. |
Return Value
Success: | Returns 1 |
Failure: | Returns 0 |
Remarks
The color list can be used when calling search functions, to search for multiple colors instead of one.
Related
FFRemoveColor, FFResetColors, FFNearestPixel, FFNearestSpot, FFBestSpot
Example
#include "FastFind.au3"
Local $aColorArray[2] = [0x00FFFFFF, 0x00000000]
FFAddColor($aColorArray)
FFAddColor(0x00FF0000)