Interface Window

This type represents a window towards the windowing system, that's used to render the scene of a component. It provides API to control windowing system specific aspects such as the position on the screen.

Hierarchy

  • Window

Properties

logicalPosition: Point

Gets or sets the logical position of the window on the screen.

logicalSize: Size

Gets or sets the logical size of the window on the screen,

physicalPosition: Point

Gets or sets the physical position of the window on the screen.

physicalSize: Size

Gets or sets the physical size of the window on the screen,

Accessors

  • get visible(): boolean
  • Returns the visibility state of the window. This function can return false even if you previously called show() on it, for example if the user minimized the window.

    Returns boolean

Methods

  • Hides the window, so that it is not visible anymore.

    Returns void

  • Shows the window on the screen. An additional strong reference on the associated component is maintained while the window is visible.

    Returns void