UNPKG

fabric

Version:

Object model for HTML5 canvas, and SVG-to-canvas parser. Backed by jsdom and node-canvas.

11 lines 702 B
import type { GroupProps } from '../../shapes/Group'; import type { FabricObject } from '../../shapes/Object/FabricObject'; /** * TODO experiment with different layout manager and svg results ( fixed fit content ) * Groups SVG elements (usually those retrieved from SVG document) * @static * @param {FabricObject[]} elements FabricObject(s) parsed from svg, to group * @return {FabricObject | Group} */ export declare const groupSVGElements: (elements: FabricObject[], options?: Partial<GroupProps>) => FabricObject<Partial<import("../../..").FabricObjectProps>, import("../../..").SerializedObjectProps, import("../../EventTypeDefs").ObjectEvents>; //# sourceMappingURL=groupSVGElements.d.ts.map