Skip to content

BlockSuite API Documentation / @blocksuite/blocks / updateXYWH

Function: updateXYWH()

updateXYWH(ele, bound, updateElement, updateBlock): void

Parameters

ele: GfxModel

bound: Bound

updateElement

updateBlock

Returns

void

Defined in

packages/affine/block-surface/dist/utils/update-xywh.d.ts:4