Skip to content

API > @blocksuite/blocks > normalizeShapeBound

Function: normalizeShapeBound ​

normalizeShapeBound(shape, bound): Bound

Parameters ​

ParameterType
shapeShapeElement
boundBound

Returns ​

Bound

Defined In ​

packages/blocks/src/surface-block/elements/shape/utils.ts:20