Window
Properties
Whether the mouse cursor is drawn while it is over the window. Starts as CursorMode.VISIBLE.
How the window takes up the screen. Setting it switches between a normal window and borderless fullscreen on the display that holds the window.
Number of pixels per point along each axis: 2 on a Retina display, 1 on a standard one.
Height of the drawable area in pixels.
Width of the drawable area in pixels, which exceeds the point size on high-density displays.
Width of the client area in points, the logical unit the window was created with. On a high-density display one point covers several pixels; see pixelDensity.
Functions
Queues a capture of the next frame drawn for this window and saves it to path as a PNG file with four 8-bit channels, every pixel opaque. A relative path resolves against Files.basePath; a missing directory on the way to the file is created when it is written, as Files.writeBytes does.