Method elm.fromXY(+ 1 overload)
Overload
Gets UI element from point.
public static elm fromXY(POINT p, EXYFlags flags = 0)
Parameters
p (POINT)
Coordinates. Tip: To specify coordinates relative to the right, bottom, work area or a non-primary screen, use Coord.Normalize, like in the example. |
flags (EXYFlags) |
Returns
elm
Returns |
Examples
Get UI element at 100 200.
var e = elm.fromXY((100, 200));
print.it(e);
Get UI element at 50 from left and 100 from the bottom edge of the work area.
var e = elm.fromXY(Coord.Normalize(50, ^100, workArea: true));
print.it(e);
Overload(top)
Gets UI element from point.
public static elm fromXY(int x, int y, EXYFlags flags = 0)
Parameters
Returns
elm
Returns |
Examples
Get UI element at 100 200.
var e = elm.fromXY((100, 200));
print.it(e);
Get UI element at 50 from left and 100 from the bottom edge of the work area.
var e = elm.fromXY(Coord.Normalize(50, ^100, workArea: true));
print.it(e);