Interface ViewSystemOptions

Options for the view system.

Memberof

PIXI

interface ViewSystemOptions {
    autoDensity?: boolean;
    height?: number;
    resolution?: number;
    view?: ICanvas;
    width?: number;
}

Hierarchy (view full)

Properties

autoDensity?: boolean

Whether the CSS dimensions of the renderer's view should be resized automatically.

Memberof

PIXI.IRendererOptions

height?: number

The height of the renderer's view.

Memberof

PIXI.IRendererOptions

resolution?: number

The resolution / device pixel ratio of the renderer.

Memberof

PIXI.IRendererOptions

view?: ICanvas

The canvas to use as the view. If omitted, a new canvas will be created.

Memberof

PIXI.IRendererOptions

width?: number

The width of the renderer's view.

Memberof

PIXI.IRendererOptions

Generated using TypeDoc