Optionalbackground?: stringColor drawn where the canvas does not cover the window.
Optionalborderless?: booleanOpen without a title bar or frame.
Optionalcanvas?: CanvasAn existing canvas to display, instead of creating one.
Optionalcursor?: CursorStylePointer shape over the window.
Optionalfit?: FitStyleHow the canvas is scaled into the window. Defaults to "contain".
Optionalfullscreen?: booleanOpen occupying the whole screen.
Optionalheight?: numberHeight of the window, in points, defaulting to the canvas's.
Optionalleft?: numberPosition of the window's left edge on screen, in points.
Optionalpage?: numberWhich canvas page to display, numbered from 1.
Optionalresizable?: booleanWhether the user may resize the window.
Optionaltitle?: stringTitle-bar text.
Optionaltop?: numberPosition of the window's top edge on screen, in points.
Optionalvisible?: booleanOpen hidden, to be shown later by setting visible.
Optionalwidth?: numberWidth of the window, in points, defaulting to the canvas's.
Initial state for a Window. Every field is also a property on the window itself and can be changed after it opens.
The CanvasOptions it extends apply when the window creates a canvas of its own, and are ignored when
canvashands it one that already exists.🧪 Not in the HTML Canvas standard.