mirror of
https://github.com/photonstorm/phaser
synced 2024-11-23 21:24:09 +00:00
Merge pull request #812 from clark-stevenson/patch-3
Update IPixiRenderer Interface
This commit is contained in:
commit
f716b0a8dd
1 changed files with 7 additions and 0 deletions
7
build/phaser.d.ts
vendored
7
build/phaser.d.ts
vendored
|
@ -76,8 +76,14 @@ declare module PIXI {
|
||||||
}
|
}
|
||||||
|
|
||||||
export interface IPixiRenderer {
|
export interface IPixiRenderer {
|
||||||
|
type: number;
|
||||||
|
transparent: boolean;
|
||||||
|
width: number;
|
||||||
|
height: number;
|
||||||
view: HTMLCanvasElement;
|
view: HTMLCanvasElement;
|
||||||
|
|
||||||
render(stage: Stage): void;
|
render(stage: Stage): void;
|
||||||
|
resize(width: number, height: number): void;
|
||||||
}
|
}
|
||||||
|
|
||||||
export interface IBitmapTextStyle {
|
export interface IBitmapTextStyle {
|
||||||
|
@ -930,6 +936,7 @@ declare module PIXI {
|
||||||
width: number;
|
width: number;
|
||||||
height: number;
|
height: number;
|
||||||
transparent: boolean;
|
transparent: boolean;
|
||||||
|
type: number;
|
||||||
view: HTMLCanvasElement;
|
view: HTMLCanvasElement;
|
||||||
|
|
||||||
constructor(width: number, height: number, view?: HTMLCanvasElement, transparent?: boolean, antialias?: boolean);
|
constructor(width: number, height: number, view?: HTMLCanvasElement, transparent?: boolean, antialias?: boolean);
|
||||||
|
|
Loading…
Reference in a new issue