mirror of
https://github.com/photonstorm/phaser
synced 2024-11-26 22:52:14 +00:00
Merge pull request #2511 from PigeonT/dev
bugfix, in Class Graphics, the method generateTexture should return t…
This commit is contained in:
commit
752e3ea6ef
1 changed files with 2 additions and 2 deletions
4
typescript/pixi.d.ts
vendored
4
typescript/pixi.d.ts
vendored
|
@ -637,7 +637,7 @@ declare module PIXI {
|
|||
drawShape(shape: Ellipse): GraphicsData;
|
||||
drawShape(shape: Polygon): GraphicsData;
|
||||
endFill(): Graphics;
|
||||
generateTexture(resolution?: number, scaleMode?: number, padding?: number): Texture;
|
||||
generateTexture(resolution?: number, scaleMode?: number, padding?: number): RenderTexture;
|
||||
lineStyle(lineWidth?: number, color?: number, alpha?: number): Graphics;
|
||||
lineTo(x: number, y: number): Graphics;
|
||||
moveTo(x: number, y: number): Graphics;
|
||||
|
@ -1883,4 +1883,4 @@ declare function requestAnimFrame(callback: Function): void;
|
|||
|
||||
declare module PIXI.PolyK {
|
||||
export function Triangulate(p: number[]): number[];
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue