Permalink
Browse files

Images can be constructed from an HTML Element

  • Loading branch information...
1 parent 921a6e6 commit fcb92fc9fd0d0931e7fb494de79beed142c3ccf3 @richardTowers richardTowers committed Mar 2, 2013
Showing with 1 addition and 0 deletions.
  1. +1 −0 fabricjs/fabricjs.d.ts
View
@@ -758,6 +758,7 @@ declare module fabric {
fromURL(url: string): IImage;
fromURL(url: string, callback: (image: IImage) => any): IImage;
fromURL(url: string, callback: (image: IImage) => any, objObjects: IObjectOptions): IImage;
+ new (element: HTMLImageElement, objObjects: IObjectOptions): IImage;
prototype: any;
filters:

0 comments on commit fcb92fc

Please sign in to comment.