Skip to content
Lamina PDF
0.9.0
GitHub
Open the web app

PageObject

type PageObject = PageObjectJs;

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

One object a page draws, in painting order (later ones over earlier ones): its name for an edit (object), its kind ("path", "text", "image", "form", "xobject" or "shading"), its box in page space (bounds, [x0, y0, x1, y1], before clipping) and, when it can’t be moved, deleted or reordered, why (readOnly, such as "clipping-path"). In a tagged file, an object that one Figure owns also has that figure’s current alternative text (alt), which DocumentContent.setAlt replaces; alt is absent for any other object, and for a figure without text. Every object of a figure reports the same alt, which 0.7.0 added.

0.5.0