Winter Cardinal UI - v0.442.0 / DApplicationLayerLike

Interface: DApplicationLayerLike

Hierarchy

Implemented by

Table of contents

Properties

Methods

Properties

application

Readonly application: DApplicationLike

Defined in

src/main/typescript/wcardinal/ui/d-application-layer-like.ts:8


height

Readonly height: number

Defined in

src/main/typescript/wcardinal/ui/d-application-layer-like.ts:10


loader

Readonly loader: Loader

Loader instance to help with asset loading.

Name

PIXI.Application#loader

Inherited from

Application.loader

Defined in

node_modules/pixi.js/pixi.js.d.ts:1064


padding

Readonly padding: DPadding

Defined in

src/main/typescript/wcardinal/ui/d-application-layer-like.ts:11


renderer

renderer: Renderer

WebGL renderer if available, otherwise CanvasRenderer.

Member

PIXI.Application#renderer

Inherited from

Application.renderer

Defined in

node_modules/pixi.js/pixi.js.d.ts:991


resizeTo

resizeTo: HTMLElement | Window

The HTML element or window to automatically resize the renderer’s view element to match width and height.

Name

resizeTo

Memberof

PIXI.Application#

Inherited from

Application.resizeTo

Defined in

node_modules/pixi.js/pixi.js.d.ts:1043


screen

Readonly screen: Rectangle

Reference to the renderer’s screen rectangle. Its safe to use as filterArea or hitArea for the whole screen.

Member

Inherited from

Application.screen

Defined in

node_modules/pixi.js/pixi.js.d.ts:1018


stage

stage: Container

The root display container that’s rendered.

Member

PIXI.Application#stage

Inherited from

Application.stage

Defined in

node_modules/pixi.js/pixi.js.d.ts:996


ticker

ticker: Ticker

Ticker for doing render updates.

Name

ticker

Memberof

PIXI.Application#

Default

PIXI.Ticker.shared

Inherited from

Application.ticker

Defined in

node_modules/pixi.js/pixi.js.d.ts:1085


view

Readonly view: HTMLCanvasElement

Reference to the renderer’s canvas element.

Member

Inherited from

Application.view

Defined in

node_modules/pixi.js/pixi.js.d.ts:1012


width

Readonly width: number

Defined in

src/main/typescript/wcardinal/ui/d-application-layer-like.ts:9

Methods

destroy

destroy(removeView?, stageOptions?): void

Destroy and don’t use after this.

Parameters

Name Type Description
removeView? boolean Automatically remove canvas from DOM.
stageOptions? Object Options parameter. A boolean will act as if all options have been set to that value
stageOptions.baseTexture? boolean Only used for child Sprites if stageOptions.children is set to true. Should it destroy the base texture of the child sprite
stageOptions.children? boolean if set to true, all the children will have their destroy method called as well. ‘stageOptions’ will be passed on to those calls.
stageOptions.texture? boolean Only used for child Sprites if stageOptions.children is set to true. Should it destroy the texture of the child sprite

Returns

void

Inherited from

Application.destroy

Defined in

node_modules/pixi.js/pixi.js.d.ts:1031


getDynamicFontAtlases

getDynamicFontAtlases(): DynamicFontAtlases

Returns

DynamicFontAtlases

Defined in

src/main/typescript/wcardinal/ui/d-application-layer-like.ts:21


getElementContainer

getElementContainer(): HTMLElement

Returns

HTMLElement

Defined in

src/main/typescript/wcardinal/ui/d-application-layer-like.ts:23


getFocusController

getFocusController(): DControllerFocus

Returns

DControllerFocus

Defined in

src/main/typescript/wcardinal/ui/d-application-layer-like.ts:20


getRootElement

getRootElement(): HTMLElement

Returns

HTMLElement

Defined in

src/main/typescript/wcardinal/ui/d-application-layer-like.ts:22


lock

lock(): void

Returns

void

Defined in

src/main/typescript/wcardinal/ui/d-application-layer-like.ts:14


queueResize

queueResize(): void

Resize is throttled, so it’s safe to call this multiple times per frame and it’ll only be called once.

Returns

void

Method

PIXI.Application#queueResize

Inherited from

Application.queueResize

Defined in

node_modules/pixi.js/pixi.js.d.ts:1050


reflow

reflow(): void

Returns

void

Defined in

src/main/typescript/wcardinal/ui/d-application-layer-like.ts:18


render

render(): void

Returns

void

Overrides

Application.render

Defined in

src/main/typescript/wcardinal/ui/d-application-layer-like.ts:17


resize

resize(): void

Execute an immediate resize on the renderer, this is not throttled and can be expensive to call many times in a row. Will resize only if resizeTo property is set.

Returns

void

Method

PIXI.Application#resize

Inherited from

Application.resize

Defined in

node_modules/pixi.js/pixi.js.d.ts:1057


start

start(): void

Convenience method for starting the render.

Returns

void

Method

PIXI.Application#start

Inherited from

Application.start

Defined in

node_modules/pixi.js/pixi.js.d.ts:1076


stop

stop(): void

Convenience method for stopping the render.

Returns

void

Method

PIXI.Application#stop

Inherited from

Application.stop

Defined in

node_modules/pixi.js/pixi.js.d.ts:1070


unlock

unlock(): void

Returns

void

Defined in

src/main/typescript/wcardinal/ui/d-application-layer-like.ts:13


update

update(): void

Returns

void

Defined in

src/main/typescript/wcardinal/ui/d-application-layer-like.ts:16