Skip to content

deleteSingleShape

deleteSingleShape(tx, doc, page, shape): boolean

A macro to delete a shape

Parameters

• tx: Transaction

• doc: Doc

• page: Page

• shape: Shape

Returns

boolean

Source

packages/core/src/macro.ts:513