Merge pull request #2511 from PigeonT/dev

bugfix, in Class Graphics, the method generateTexture should return t…
This commit is contained in:
Richard Davey 2016-06-02 14:47:46 +01:00
commit 752e3ea6ef

View file

@ -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[];
}
}