Skip to content
Lamina PDF
0.9.0
GitHub
Open the web app

ContentEdit

type ContentEdit = ContentEditJs;

Defined in: packages/sdk/src/types.ts:1037

One change to an object a page draws: { transform: { object, matrix } } (a matrix [a, b, c, d, e, f] in page space), { delete: { object } }, { replaceImage: { object, blob } } (a blob ID from Document.addBlob), { crop: { object, rect } } ([x0, y0, x1, y1] in page space) or { reorder: { object, to } } ("front", "back", { before: ObjectRef } or { after: ObjectRef }).

0.5.0