Skip to content

BlockSuite API Documentation / @blocksuite/blocks / fitContent

Function: fitContent()

fitContent(shape): void

Parameters

shape: ShapeElementModel

Returns

void

Source

packages/blocks/src/surface-block/canvas-renderer/element-renderer/shape/utils.ts:191