Configuration

Configuration class to customize the behavior, appearance, and settings of a window in an application.

Constructors

Link copied to clipboard
constructor()

Properties

Link copied to clipboard
Link copied to clipboard

If the cursor is hidden in what way should it be hidden?

Link copied to clipboard

Should debug mode be used?

Link copied to clipboard

The display on which to create the window. All currently detected Displays can be found in the displays list inside ApplicationBuilder. Defaults to null which means to use your primary monitor.

Link copied to clipboard

Should the program draw while its canvas is out of view? Only used in browsers. When false the program is not drawn while its canvas is scrolled out of view, it keeps processing events and launched coroutines, and Window.minimized and Window.restored are triggered when the canvas leaves and enters the view.

Link copied to clipboard

Should the window be made fullscreen?

Link copied to clipboard

Should the window use an HDR (floating point) framebuffer? Colors brighter than 1.0 are then shown brighter than SDR white on displays that have HDR enabled, see Display.hdr. Only supported by the SDL application back-end.

Link copied to clipboard
var height: Int

The preferred window height

Link copied to clipboard

Should the cursor be hidden?

Link copied to clipboard

Should window decorations be hidden?

Link copied to clipboard
Link copied to clipboard

The maximum window height

Link copied to clipboard

The maximum window width

Link copied to clipboard

The minimum window height

Link copied to clipboard

The minimum window width

Link copied to clipboard

Should the window render target use multisampling?

Link copied to clipboard

The window position. The window will be placed in the center of the primary screen when set to null

Link copied to clipboard

Should the window be made visible before calling setup? The window is then cleared to black and shown before setup, which shows that the program started when setup takes long. Otherwise the window is shown when its first frame is drawn, so it does not show a black frame first.

Link copied to clipboard

The window title

Link copied to clipboard
Link copied to clipboard

The window and drawing behaviour on window unfocus

Link copied to clipboard

Should the program wait for vertical retrace?

Link copied to clipboard
var width: Int

The preferred window width

Link copied to clipboard

Should the window be always on top (floating)

Link copied to clipboard

Should the created window be resizable?

Link copied to clipboard

Should the window icon be set to the openrndr pink icon?

Link copied to clipboard

Should the window be transparent