Name | screen |
---|---|
Examples | void setup() { size(screen.width, screen.height); } void draw() { line(0, 0, screen.width, screen.height); } |
Description | System variable which stores the dimensions of the computer screen. For example, if the current screen resolution is 1024x768, screen.width is 1024 and screen.height is 768. These dimensions are useful when exporting full-screen applications. |
Usage | Web & Application |