Version:
interface

ColorFinderInterface

A WindowFinder should provide an abstraction layer to perform window searches

typescript
interface ColorFinderInterface

Methods

findMatch

findMatch(query: MatchRequest<object, PROVIDER_DATA_TYPE>): Promise<MatchResult<Point>>

findMatch should provide an abstraction to search for a color on screen

Parameters

queryMatchRequest<object, PROVIDER_DATA_TYPE>A containing needed data

Returns

Promise<MatchResult<Point>>

findMatches

findMatches(query: MatchRequest<object, PROVIDER_DATA_TYPE>): Promise<MatchResult<Point>[]>

findMatches should provide an abstraction to search for a window on screen

Parameters

queryMatchRequest<object, PROVIDER_DATA_TYPE>A containing needed data

Returns

Promise<MatchResult<Point>[]>

Was this page helpful?