Merge pull request #8980 from fcanocapdepon/bitmap-contructor-parameter

Object like parameter in Bitmap contructor when are using preloadjs getResult
This commit is contained in:
Mohamed Hegazy 2016-06-26 15:24:31 -07:00 committed by GitHub
commit 1f3e28fba5
2 changed files with 4 additions and 1 deletions

View File

@ -43,7 +43,7 @@ declare namespace createjs {
export class Bitmap extends DisplayObject {
constructor(imageOrUrl: HTMLImageElement | HTMLCanvasElement | HTMLVideoElement | string);
constructor(imageOrUrl: HTMLImageElement | HTMLCanvasElement | HTMLVideoElement | Object | string);
// properties
image: HTMLImageElement | HTMLCanvasElement | HTMLVideoElement;

View File

@ -36,6 +36,9 @@ declare namespace Html2Canvas {
/** Whether to attempt to load cross-origin images as CORS served, before reverting back to proxy. */
useCORS?: boolean;
/** Use svg powered rendering where available (FF11+). */
svgRendering?: boolean;
/** Use svg powered rendering where available (FF11+). */
svgRendering?: boolean;