Method Coord.Normalize
Overload
Returns normal coordinates relative to the primary screen. Converts fractional/reverse coordinates etc.
public static POINT Normalize(Coord x, Coord y, bool workArea = false, screen screen = default, bool widthHeight = false, bool centerIfEmpty = false)
Parameters
x (Coord)
X coordinate relative to the specified screen ( |
y (Coord)
Y coordinate relative to the specified screen ( |
workArea (bool)
x y are relative to the work area. |
screen (screen)
If used, xy are relative to this screen. Default - primary screen. Example: |
widthHeight (bool)
Use only width and height of the screen rectangle. If |
centerIfEmpty (bool)
If x or y is |