Graphics

Category: Window and Display

Back to System Functions


Signature

Graphics(width As Integer, height As Integer, [fullscreen As Boolean])

Returns

Void

Description

Creates or resizes the graphics window and sets the virtual resolution.

When the optional third argument is True, the window enters borderless fullscreen mode. When the third argument is omitted, Graphics uses windowed mode.

Use ScaleWindow to change the physical window size relative to this virtual resolution.

Example

Graphics(640, 480) Graphics(1920, 1080, True)