跳转到内容

enlivenObjects

enlivenObjects<T>(objects, options?): Promise<T[]>

Type Parameters

T extends Shadow | FabricObject<Partial<FabricObjectProps>, SerializedObjectProps, ObjectEvents> | TFiller | BaseFabricObject<Partial<ObjectProps>, SerializedObjectProps, ObjectEvents> | BaseFilter<string, object>

Parameters

objects: any[]

Objects to enliven

options?: EnlivenObjectOptions = {}

Returns

Promise<T[]>

Defined in

src/util/misc/objectEnlive.ts:92