Enumerate the bounding boxes of the objects on the page.
The filter array to specify which objects to include.
Returns an array of bounding boxes of the objects on the page.
Generate the content of the page.
Get the bounding box of the page.
Gets the page dictionary.
Get the document associated with the page.
Get the next object after the specified position.
The position to get the next object.
Return the next PageObject after the specified position.
Get the object at the specified position.
The position to get the object.
Returns the object at the specified position.
Get the object by index.
The index of the object to get.
Return the PageObject at the specified index.
Get the number of objects on the page.
Return the number of objects on the page.
Get the index of the specified object.
The object to get the index of.
Return the index of the specified object.
Get the page height.
Returns the height of the page.
Get the page rotation.
Returns the rotation of the page.
Get the page width.
Returns the width of the page.
Get the previous object before the specified position.
The position to get the previous object.
Get the text page of the current page.
Get the text page of the current page.
Check if the page has been parsed.
Return true if the page has been parsed, otherwise return false.
Construct a page. For saving memory, the page caching feature can be disabled, then images and masks used in page rendering won't be cached. Of course this will affect the speed.
The input load page options.
Move the object from one position to another.
The position of the object to be moved.
The new position after which the object is moved.
A promise that resolves to the new position of the moved object.
Batch update the opacity of the specified objects.
The array of objects to update.
The opacity value to set (0-100).
Returns true if the operation was successful.
Parse the content of the page.
The parse options.
Remove the object at the specified position.
The position of the object to be removed.
A promise that resolves when the object has been removed.
Remove an object by its ID.
The ID of the object to remove.
Returns true if the object was successfully removed.
Get the position of first object.
Return the position of first object.
Get the position of last object.
Return the position of last object.
Insert an object after the specified position.
The position the object is inserted.
The object to be inserted.
Return the position of the inserted object.
Destroy the current object.