Show / Hide Table of Contents

Constructor PopupXY.PopupXY


Overload

Sets position and/or screen.

public PopupXY(Coord x = default, Coord y = default, bool workArea = true, screen screen = default)
Parameters
x  (Coord)

X relative to the screen or work area. Default - center.

y  (Coord)

X relative to the screen or work area. Default - center.

workArea  (bool)

x y are relative to the work area of the screen.

screen  (screen)

Can be used to specify a screen. Default - primary. Example: screen.index(1).

Remarks

Also there is are implicit conversions from tuple (x, y) and POINT. Instead of new PopupXY(x, y) you can use (x, y). Instead of new PopupXY(p.x, p.y, false) you can use p or (POINT)p .