mirror of
https://github.com/photonstorm/phaser
synced 2024-11-27 15:12:18 +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 {
|
||||
type: number;
|
||||
transparent: boolean;
|
||||
width: number;
|
||||
height: number;
|
||||
view: HTMLCanvasElement;
|
||||
|
||||
render(stage: Stage): void;
|
||||
resize(width: number, height: number): void;
|
||||
}
|
||||
|
||||
export interface IBitmapTextStyle {
|
||||
|
@ -930,6 +936,7 @@ declare module PIXI {
|
|||
width: number;
|
||||
height: number;
|
||||
transparent: boolean;
|
||||
type: number;
|
||||
view: HTMLCanvasElement;
|
||||
|
||||
constructor(width: number, height: number, view?: HTMLCanvasElement, transparent?: boolean, antialias?: boolean);
|
||||
|
|
Loading…
Reference in a new issue