Winter Cardinal UI - v0.442.0 / DApplicationLayerLike
Application
↳ DApplicationLayerLike
• Readonly
application: DApplicationLike
src/main/typescript/wcardinal/ui/d-application-layer-like.ts:8
• Readonly
height: number
src/main/typescript/wcardinal/ui/d-application-layer-like.ts:10
• Readonly
loader: Loader
Loader instance to help with asset loading.
Name
PIXI.Application#loader
Application.loader
node_modules/pixi.js/pixi.js.d.ts:1064
• Readonly
padding: DPadding
src/main/typescript/wcardinal/ui/d-application-layer-like.ts:11
• renderer: Renderer
WebGL renderer if available, otherwise CanvasRenderer.
Member
PIXI.Application#renderer
Application.renderer
node_modules/pixi.js/pixi.js.d.ts:991
• 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#
Application.resizeTo
node_modules/pixi.js/pixi.js.d.ts:1043
• Readonly
screen: Rectangle
Reference to the renderer’s screen rectangle. Its safe to use as filterArea
or hitArea
for the whole screen.
Member
Application.screen
node_modules/pixi.js/pixi.js.d.ts:1018
• stage: Container
The root display container that’s rendered.
Member
PIXI.Application#stage
Application.stage
node_modules/pixi.js/pixi.js.d.ts:996
• ticker: Ticker
Ticker for doing render updates.
Name
ticker
Memberof
PIXI.Application#
Default
PIXI.Ticker.shared
Application.ticker
node_modules/pixi.js/pixi.js.d.ts:1085
• Readonly
view: HTMLCanvasElement
Reference to the renderer’s canvas element.
Member
Application.view
node_modules/pixi.js/pixi.js.d.ts:1012
• Readonly
width: number
src/main/typescript/wcardinal/ui/d-application-layer-like.ts:9
▸ destroy(removeView?
, stageOptions?
): void
Destroy and don’t use after this.
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 |
void
Application.destroy
node_modules/pixi.js/pixi.js.d.ts:1031
▸ getDynamicFontAtlases(): DynamicFontAtlases
src/main/typescript/wcardinal/ui/d-application-layer-like.ts:21
▸ getElementContainer(): HTMLElement
HTMLElement
src/main/typescript/wcardinal/ui/d-application-layer-like.ts:23
▸ getFocusController(): DControllerFocus
src/main/typescript/wcardinal/ui/d-application-layer-like.ts:20
▸ getRootElement(): HTMLElement
HTMLElement
src/main/typescript/wcardinal/ui/d-application-layer-like.ts:22
▸ lock(): void
void
src/main/typescript/wcardinal/ui/d-application-layer-like.ts:14
▸ queueResize(): void
Resize is throttled, so it’s safe to call this multiple times per frame and it’ll only be called once.
void
Method
PIXI.Application#queueResize
Application.queueResize
node_modules/pixi.js/pixi.js.d.ts:1050
▸ reflow(): void
void
src/main/typescript/wcardinal/ui/d-application-layer-like.ts:18
▸ render(): void
void
Application.render
src/main/typescript/wcardinal/ui/d-application-layer-like.ts:17
▸ 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.
void
Method
PIXI.Application#resize
Application.resize
node_modules/pixi.js/pixi.js.d.ts:1057
▸ start(): void
Convenience method for starting the render.
void
Method
PIXI.Application#start
Application.start
node_modules/pixi.js/pixi.js.d.ts:1076
▸ stop(): void
Convenience method for stopping the render.
void
Method
PIXI.Application#stop
Application.stop
node_modules/pixi.js/pixi.js.d.ts:1070
▸ unlock(): void
void
src/main/typescript/wcardinal/ui/d-application-layer-like.ts:13
▸ update(): void
void
src/main/typescript/wcardinal/ui/d-application-layer-like.ts:16