Function FFAddExcludedArea

FastFind

Function Reference

FFAddExcludedArea

Adds an exclusion zone.

FFAddExcludedArea ( x1, y1, x2, y2 )

 

Parameters

x1 Left coordinate of exlusion area.
y1 Top coordinate of exlusion area.
x2 Right coordinate of exlusion area.
y2 Bottom coordinate of exlusion area.

 

Return Value

Success: Returns 1
Failure: Returns 0

 

Remarks

Exclusion zones are used to restrict the search area in the FastFind search functions. It is possible to have up to 1024 rectangles of exclusion, thereby precisely removing any search area. Once set, the exclusion zones will apply to all FastFind searches until they're reset.

 

Related

FFResetExcludedAreas, FFIsExcluded, FFNearestPixel, FFNearestSpot, FFBestSpot