BlockSuite API Documentation / @blocksuite/affine-block-surface / normalizeShapeBound
Function: normalizeShapeBound()
normalizeShapeBound(
shape
,bound
):Bound
Parameters
• shape: ShapeElementModel
• bound: Bound
Returns
Bound
Defined in
packages/affine/block-surface/src/renderer/elements/shape/utils.ts:193