Skip to content

API > @blocksuite/blocks > setXYWH

Function: setXYWH ​

setXYWH(element, bound): void

Parameters ​

ParameterType
elementIBound
boundIBound

Returns ​

void

Defined In ​

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