Options
All
  • Public
  • Public/Protected
  • All
Menu

Class RenderWindow

Hierarchy

  • RenderWindow

Index

Constructors

constructor

Methods

capture

clear

  • clear(color: number | Color): void

close

  • close(): void

create

  • create(windowHandle: number): void
  • create(videoMode: VideoMode, title: string, style?: Style): void

display

  • display(): void

displayAsync

  • displayAsync(): Promise<void>

draw

  • draw(content: Drawable): void

drawAsync

  • drawAsync(content: Drawable): Promise<void>

getPosition

getSettings

getSize

hasFocus

  • hasFocus(): boolean

isOpen

  • isOpen(): boolean

pollEvent

requestFocus

  • requestFocus(): void

setActive

  • setActive(active?: boolean): void

setFramerateLimit

  • setFramerateLimit(limit: number): void

setIcon

  • setIcon(width: number, height: number, icon: Buffer): void

setJoystickThreshold

  • setJoystickThreshold(threshold: number): void

setKeyRepeatEnabled

  • setKeyRepeatEnabled(enabled: boolean): void

setMouseCursorGrabbed

  • setMouseCursorGrabbed(grabbed: boolean): void

setMouseCursorVisible

  • setMouseCursorVisible(visible: boolean): void

setPosition

setTitle

  • setTitle(title: string): void

setVerticalSyncEnabled

  • setVerticalSyncEnabled(enabled: boolean): void

setVisible

  • setVisible(visible: boolean): void

Generated using TypeDoc