Advanced
Whether to enable anti-aliasing. This may affect performance.
The canvas element that everything is drawn to.
The render target that the view is drawn to.
Measurements of the screen. (0, 0, screenWidth, screenHeight).
Its safe to use as filterArea or hitArea for the whole stage.
The texture that is used to draw the canvas to the screen.
Static
defaultThe default options for the view system.
Whether CSS dimensions of canvas view should be resized to screen dimensions automatically. This is only supported for HTMLCanvasElement and will be ignored if the canvas is an OffscreenCanvas.
The resolution / device pixel ratio of the renderer.
Destroys this System and optionally removes the canvas from the dom.
The options for destroying the view, or "false".
Resizes the screen and canvas to the specified dimensions.
The new width of the screen.
The new height of the screen.
The view system manages the main canvas that is attached to the DOM. This main role is to deal with how the holding the view reference and dealing with how it is resized.