Methods

  • Activates the window.

    Returns void

  • Closes the window.

    Returns void

  • Focus the window.

    Returns void

  • Returns the window's height.

    Returns number

  • Returns whether this window is displayed on the main screen.

    Returns boolean

  • Returns the window's left position.

    Returns number

  • Returns the pixel ratio for the window.

    Returns number

  • Returns the position and size of the window.

    Returns Rectangle

  • Returns the screen number this window is displayed at.

    Returns number

  • Returns the window's title.

    Returns string

  • Returns the window's top position.

    Returns number

  • Returns whether the window is visible.

    Returns boolean

  • Returns the window's width.

    Returns number

  • Maximizes the window.

    Returns void

  • Minimizes the window.

    Returns void

  • Restores the window.

    Returns void

  • Sets the position and size of the window.

    Parameters

    • left: number

      The left position of the window.

    • top: number

      The top position of the window.

    • width: number

      The width of the window.

    • height: number

      The height of the window.

    Returns void

  • Sets whether the window is visible.

    Parameters

    • visible: boolean

      The visible state.

    Returns void

Generated using TypeDoc