API > @blocksuite/blocks > serializeXYWH
Function: serializeXYWH ​
serializeXYWH(
x
,y
,w
,h
):SerializedXYWH
Parameters ​
Parameter | Type |
---|---|
x | number |
y | number |
w | number |
h | number |
Returns ​
Defined In ​
packages/blocks/src/surface-block/utils/xywh.ts:7