- createPixiApp(options: IPixiAppOptions): { add: (x: PixiFunctionComponent) => void; app: Application; context: IComponentContext; destroy: () => void; domElement: HTMLCanvasElement; pause: () => void; play: () => void; resize: (width: number, height: number) => void; stage: Container; type: PIXI_APP; wrapContext: <T, U>(x: (...args: T) => U) => (...args: T) => U }
Parameters
Returns { add: (x: PixiFunctionComponent) => void; app: Application; context: IComponentContext; destroy: () => void; domElement: HTMLCanvasElement; pause: () => void; play: () => void; resize: (width: number, height: number) => void; stage: Container; type: PIXI_APP; wrapContext: <T, U>(x: (...args: T) => U) => (...args: T) => U }
app: Application
destroy: () => void
domElement: HTMLCanvasElement
pause: () => void
play: () => void
resize: (width: number, height: number) => void
- (width: number, height: number): void
Parameters
width: number
height: number
Returns void
stage: Container
type: PIXI_APP
wrapContext: <T, U>(x: (...args: T) => U) => (...args: T) => U
- <T, U>(x: (...args: T) => U): (...args: T) => U
Type parameters
Parameters
Returns (...args: T) => U
use pixiApp.context.wrap instead.