Skip to content

getAllBoundingRect

getAllBoundingRect(canvas, shapes): number[][]

Returns bounding rect of all of given shapes

Parameters

• canvas: Canvas

• shapes: Shape[]

Returns

number[][]

Source

packages/core/src/utils/shape-utils.ts:84