Struct MObject
This type is used for parameters of mouse functions that accept multiple types of UI objects (window, UI element, screen, etc).
public struct MObject
Remarks
Has implicit conversions from wnd, elm, uiimage, screen, RECT and bool (relative coordinates).
Also has static functions to specify more parameters.
Namespace: Au.Types
Assembly: Au.dll
Properties
| Name | Description |
|---|---|
| Value |
Methods
| Name | Description |
|---|---|
| RectInWindow(wnd, RECT) | Allows to specify coordinates in a rectangle in the client area of a window or control. |
| Screen(screen, bool) | Allows to specify coordinates in a screen, either in the work area or in entire rectangle. |
| Window(wnd, bool) | Allows to specify coordinates in a window or control, either in the client area or in entire rectangle. |
Operators
| Name | Description |
|---|---|
| implicit operator MObject(RECT) | Allows to specify coordinates in a rectangle anywhere on screen. |
| implicit operator MObject(elm) | Allows to specify coordinates in the rectangle of a UI element. |
| implicit operator MObject(screen) | Allows to specify coordinates in a screen. |
| implicit operator MObject(uiimage) | Allows to specify coordinates in the rectangle of an image found in a window etc. |
| implicit operator MObject(wnd) | Allows to specify coordinates in the client area of a window or control. |
| implicit operator MObject(bool) | Allows to specify coordinates relative to mouse.xy or mouse.lastXY. |