public WindowPlacement(x as Int = 0, y as Int = 0, width as Int = 800, height as Int = 600, maximized as Boolean = false, centered as Boolean = false)
Creates a placement, without opening a native window.
| Parameter | Description |
|---|---|
x | Normal frame screen x coordinate. |
y | Normal frame screen y coordinate. |
width | Normal total width, including the frame, at least 240 pixels. |
height | Normal total height, including the frame, at least 160 pixels. |
maximized | Whether to open maximized with the selected frame. |
centered | Whether to center instead of using x/y on first display. |
window.setPlacement(WindowPlacement(100, 80, 1200, 800))