Skip to content

getAllViewport

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

Returns the viewport including all of given shapes

Parameters

canvas: Canvas

shapes: Shape[]

Returns

number[][]

Source

utils/shape-utils.ts:67