Skip to content

groupSVGElements

groupSVGElements(elements, options?): FabricObject<Partial<FabricObjectProps>, SerializedObjectProps, ObjectEvents>

Parameters

elements: FabricObject<Partial<FabricObjectProps>, SerializedObjectProps, ObjectEvents>[]

FabricObject(s) parsed from svg, to group

options?: Partial<GroupProps>

Returns

FabricObject<Partial<FabricObjectProps>, SerializedObjectProps, ObjectEvents>

Defined in

src/util/misc/groupSVGElements.ts:12