Interface: ViewOptions

PIXI.ViewOptions

Options passed to the ViewSystem

Properties:
Name Type Description
autoDensity boolean

Resizes renderer view in CSS pixels to allow for resolutions other than 1.

height number

The height of the screen.

resolution number

The resolution / device pixel ratio of the renderer.

view HTMLCanvasElement

The canvas to use as a view, optional.

width number

The width of the screen.

Members

autoDensity boolean

Resizes renderer view in CSS pixels to allow for resolutions other than 1.

height number

The height of the screen.

resolution number

The resolution / device pixel ratio of the renderer.

view HTMLCanvasElement

The canvas to use as a view, optional.

width number

The width of the screen.