Skip to content

WindowSize

1 min read

Import: import system.window;

Read the usage guide for examples and common tasks. This reference lists the public declarations for this part of the library. See Reading API signatures for parameter and result notation.

WindowSize

A width and height in whole pixels.

public struct WindowSize

width

Width in pixels.

public width: int

height

Height in pixels.

public height: int

constructor

Creates a size of width by height pixels.

public constructor(width: int, height: int)