Class IFArea
Defines the search area for uiimage.find and similar functions.
public class IFArea
Remarks
It can be a window/control, UI element, image or a rectangle in screen.
Has implicit conversions from wnd, elm, Bitmap and RECT (rectangle in screen).
Constructors can be used to specify a rectangle in window or UI element, which makes the area smaller and the function faster.
Example: uiimage.find(new(w, (left, top, width, height)), image);.
Namespace: Au.Types
Assembly: Au.dll
Constructors
| Name | Description |
|---|---|
| IFArea(elm, Coord, Coord, Coord, Coord) | Specifies a UI element and a rectangle in it.
The parameters are of Coord type, therefore can be easily specified reverse and fractional coordinates, like |
| IFArea(elm, RECT) | Specifies a UI element and a rectangle in it. |
| IFArea(wnd, Coord, Coord, Coord, Coord) | Specifies a window or control and a rectangle in its client area.
The parameters are of Coord type, therefore can be easily specified reverse and fractional coordinates, like |
| IFArea(wnd, RECT) | Specifies a window or control and a rectangle in its client area. |
Operators
| Name | Description |
|---|---|
| implicit operator IFArea(RECT) | |
| implicit operator IFArea(elm) | |
| implicit operator IFArea(wnd) | |
| implicit operator IFArea(Bitmap) |