Skip to content

BlockSuite API Documentation / @blocksuite/blocks / normalizeShapeBound

Function: normalizeShapeBound()

normalizeShapeBound(shape, bound): Bound

Parameters

shape: ShapeElementModel

bound: Bound

Returns

Bound

Defined in

packages/affine/block-surface/dist/renderer/elements/shape/utils.d.ts:13