Skip to content

BlockSuite API Documentation / @blocksuite/blocks / addNoteAtPoint

Function: addNoteAtPoint()

addNoteAtPoint(std, point, options): string

Parameters

std

BlockStdScope

point

IPoint

The point is in browser coordinate

options

height

number

noteIndex

number

offsetX

number

offsetY

number

parentId

string

scale

number

width

number

Returns

string

Defined in

packages/blocks/src/root-block/edgeless/utils/common.ts:230