Skip to content

groupSVGElements

groupSVGElements(elements, options?): FabricObject

Defined in: src/util/misc/groupSVGElements.ts:12

TODO experiment with different layout manager and svg results ( fixed fit content ) Groups SVG elements (usually those retrieved from SVG document)

Parameters

elements

FabricObject[]

FabricObject(s) parsed from svg, to group

options?

Partial<GroupProps>

Returns

FabricObject

Static