Select
Last updated
Was this helpful?
Last updated
Was this helpful?
Selects a part of a bigger image. Implements . See for general information about Filters.
Namespace: Progile.ATE.TestFramework
Creates a new Select Filter instance with the Bounds ResultRectangle corresponding to the desired search rectangle.
Syntax:
Parameter
Description
selection
The Bounds ResultRectangle corresponding to the desired search rectangle.
[borderSize]
Syntax:
Parameter
Description
x, y, width, heigth
[borderSize]
Syntax:
Parameter
Description
first
The result corresponding to one corner of the desired search rectangle.
second
The result corresponding to the opposite corner of the desired search rectangle.
[borderSize]
Applies the filter to the input image. Used internally.
Transforms the coordinates of a ResultRectangle (produced by an image search with this filter applied) back to the original reference frame of the screen of the current SUT. Used internally.
The ResultRectangle corresponding to the search rectangle.
The name of the filter type, i.e. "SELECT".
Syntax: public string Name => "SELECT";
Type:
Type: A margin added to all sides of the selection rectangle. Can be positive or negative. By default 0.
Type:
The coordinates of the rectangle corresponding to the Bounds search rectangle for the select filter. See for details.
Type: A margin added to all sides of the selection rectangle. Can be positive or negative. By default 0.
Static method to create a new Select Filter instance with the Bounds ResultRectangle corresponding to the desired search rectangle. Identical to Constructor .
Static method to create a new Select Filter instance with the Bounds ResultRectangle corresponding to the desired search rectangle. The rectangle is formed by the hotspots (property) of the two .
Type:
Type:
Type: A margin added to all sides of the selection rectangle. Can be positive or negative. By default 0.
Static method to create a new Select Filter instance with the Bounds ResultRectangle corresponding to the desired search rectangle. Identical to Constructor .
Syntax: public
Bounds { get; }