TesterSelectExtensions Methods

SelectFromColorAtPoint

Overload List

SelectFromColorAtPoint(ITester, ImageReference, Double, TimeSpan, ImageDetectionParameters, IImageFilter[ ])

Returns a Select filter that contains the connected region of the same color (floodfill) on the filtered current screen starting from the Hotspot (or middle) of the imagesearch with the provided imageReference. Throws a TestStepAbortedException, if the image cannot be found on screen.

Syntax:

public static Select SelectFromColorAtPoint(
	this ITester t,
	ImageReference imageReference,
	double tolerance = 0.004,
	TimeSpan searchTime = default,
	ImageDetectionParameters parameters = null,
	params IImageFilter[] filters
)

Parameters:

Return Value:

A Select filter.

SelectFromColorAtPoint(ITester, IEngineResult, Double, IImageFilter[ ])

Returns a Select filter that contains the connected region of the same color (floodfill) on the filtered current screen starting from the hotspot or Location of the provided position.

Syntax:

public static Select SelectFromColorAtPoint(
	this ITester t,
	IEngineResult position,
	double tolerance = 0.004,
	params IImageFilter[] filters
)

Parameters:

Return Value:

A Select filter.

SelectFromColorAtPoint(ITester, Point, Double, IImageFilter[ ])

Returns a Select filter that contains the connected region of the same color (floodfill) on the filtered current screen starting from the provided point.

Syntax:

public static Select SelectFromColorAtPoint(
	this ITester t,
	Point origin,
	double tolerance = 0.004,
	params IImageFilter[] filters
)

Parameters:

Return Value:

A Select filter.

SelectFromTopLeftAndBottomRightImages

Returns a Select filter formed by Hotspots (or middle if no hotspot set) of topLeftImage and bottomRightImage. Throws TestStepAbortedException if Images not found.

Syntax:

public static Select SelectFromTopLeftAndBottomRightImages(
	this ITester t,
	ImageReference topLeftImage,
	ImageReference bottomRightImage,
	TimeSpan searchTime = default,
	ImageDetectionParameters parameters = null,
	params IImageFilter[] filters
)

Parameters:

Return Value:

A Select filter.

Last updated